find a new tenant here on QL. Advertise your place for rent to take up the remainder of the lease period. Get the new tenant to pay the equivalent amount of your security deposit and transfer his/her name to your rental agreement.

Of course if you're charming enough you may settle with half months rent etc. But if all else fails try the above.