Landlord Refuse to return Partial Deposit Money

Hello, I took a house for rent in Chennai by entering 11 months of the rental agreement in Sep 2017 with Rs. 1,000,00 as the security deposit and Rs.15,000 as rent and Rs.1000 as maintenance cost per month. (Rs.16K/month totally). Unfortunately, I had to relocate to Bangalore in the month of Apr 2018 and I called and conveyed it to my owner on 25th of Mar. He said okay to leave but he can't find another tenant immediately so until he finds a replacement I have to pay the rent up to 3 months as per agreement but If anybody comes in between then I will get my security deposit by deducting the rent amount till the new tenant's stay. For instance, I have to pay rent for 3 months Apr, May, and June even If I vacate the house in Apr. If new tenant occupies in May then I will be returned security deposit with only 16K deduction for Apr month so I will get Rs.84K - X (If anything to deduct with respect to damage in the house) Actually, I vacate the house on April 15th, 2018. Meanwhile, I send advertisement and called some broker to find a new tenant and finally, owner finalized a new tenant with an increased rent and security amount (It doesn't matter for me because that is his house and he can do it). The owner got security deposit amount on 18th, Apr from a new tenant (he called me and said this) but he didn't return my security deposit. On May 10th I came to know that new tenant got moved into the house. When I called my owner he said they have come for cupboard work and immediately after the call he transferred Rs.62500 by deducting Rs. 32500 (16K rent for April+16K rent for May + 500 house damage). Meanwhile, I confirmed they are new tenants and called him again but this time he accepted that they are new tenants but still not returning Rs.16K (May month rent). To date (4th July 2015) he refuses to return Rs.16K and If I force him he is planning to deduct even for pain works for the house. When I move in he doesn't pain the house and I said no need to pain since its a 2 Yr. old house. He was friendly until 10th of May but not now. Please advise me on this. Thanks