Choudhary, the Revenue minister, entered the fray on the last day of filing nominations.
"Rahulji called me late last night asking me to file the nomination," he told PTI by telephone from Barmer.
"Whether you wish or not, you will have to contest the polls," Choudhary quoted Rahul as saying.
"I cannot ignore his direction" and submitted papers for the assembly seat, he said.
Choudhary had yesterday refused to file his nomination saying the party should give chance to new faces.
Choudhary, however, withdrew his resignation after party chief Sonia Gandhi intervened.
"This will be my last election," Choudhary said.