Rental Landlord denied deposit money

I was staying in a house in Bharuch, Gujarat from April 2018 to June 2019. i was having proper rental agreement for the said house and after expiry of 11 months, ie Feb 2019 landlord told to make new agreement. since i was about to get transfer from Gujarat, i told him, i will be transferred in a matter of months, so it is needless. we waited for the transfer order but till may last it didnt happen, so we went and renewed the rent agreement. on June 17 i got the transfer letter and i immediately told the landlord, i got transfer and i will be shifting soon, since i have to join new place of posting by 2nd July. he said OKAY no problem, since he is away from Gujarat and will be back only by mid July, i can proceed with shifting and he will collect the Key from the neighbor to whom i will deposit the key. i have deposited Rs.14000/- as security deposit and it is reflected in the rent agreement, but after shifting and when he came back to his house mid July, i asked him to settle my security deposit, he denied payment telling, i have not completed the notice period of one month. what legal standing does his action have...?