Thank you for your query,
In typhiod fever, the widal test
and the antibodies will persist longer even though infection is treated with appropriate antibiotic for proper duration.
But relapses are also common in typhoid fever
due to the resistance of slamonella to drugs.
You continue the medication as advised by your doctor and take vaccination
for typhoid after consulting him.
Hope I have answered your query.