BBC News - Pakistan returns India soldier
But in May, India's new PM Narendra Modi met his Pakistani counterpart Nawaz Sharif and they pledged to work for peace and stability.
SS Tomar, a senior official of India's Border Security Force (BSF), told the BBC that Mr Yadav was trying to climb into a boat in the surging Chenab when he slipped and was carried away by the strong current.
Pakistani soldiers detained and questioned Mr Yadav before deciding to hand him back on Friday, reports say.
"They [Pakistani soldiers] took my introduction. They helped me to the extent they could. They kept me better than what I had thought. I have no complaints. I am happy," Mr Yadav said, according to the Press Trust of India news agency.