NEW DELHI — The long-estranged wife of Prime Minister Narendra Modi of India returned to the public eye on Wednesday when a car she was riding in collided with a truck.

Mr. Modi’s wife, Jashodaben Chimanlal, a retired teacher, was unhurt, but one of her relatives was killed, said Rakesh Rajora, a police official in the northern state of Rajasthan, where the crash occurred.

“Madam Jashodaben is fine and did not suffer any injury,” Mr. Rajora said, adding that she had been taken to a hospital as a precaution.

For most of his political career, Mr. Modi did not publicly acknowledge that he was married. He left his marital status blank on several election registration forms when he was chief minister of the state of Gujarat. But under increased scrutiny as a candidate for prime minister in 2014, Mr. Modi revised his official biography to note the relationship.