External Affairs Minister Sushma Swaraj welcomed Uzma back home, calling her "India's daughter".
"I am sorry for all that you have gone through," Swaraj tweeted.
Uzma, who is in her early 20s, hails from New Delhi. She had travelled to Pakistan earlier this month. She has accused Tahir Ali, whom she reportedly met in Malaysia and fell in love with, of forcing her into marrying him in Pakistan on May 3.
The court also returned her the immigration papers which she had said was taken away by Ali, who had submitted the documents after being told by the court to do so.
She had been staying at the Indian mission in Islamabad after she accused Ali of making her marry him at gun point.