First of all, if the contract has such a clause, you have to take precautionary measures before terminating the contract and get acknowledgement of receipt of your communication. Did you hand over the key on that date and get acknowledgemtn? Did anybody else is staying there during this 7 months period? If these things happend you can get the evidence and approach a lawyer to sue a case. Otherwise the case is in favour of the landlord.