You have to go as per your contract. Notice period is fo the landlord to arrange another tenant and not bear loss for earky termination. If he doesn't return you deposit you can file recovery suit with civil court. If you dint vacate after expiry then you will secure more loss. You can send him legal notice and vacate the premises