You need to carefully read the written lease that you transferred to a third person to see if there is any provision with respect to assigning the lease. If so, that provision controls the obligations between you and the landlord with respect to the assignment. If the provision prohibits assignment then you have a problem.If the lease talks about approval of the assignment, the approval cannot be unreasonably withheld. If the lease is silent regarding prohibition of any assignment of the lease, you are entitled to do so.The landlord has an obligation to mitigate his or her damages concerning the lease that you assigned by trying to lease it out to a third person.I suggest that given the circumstances that you are in that you consult with a landlord tenant attorney to assist in the predicament that you are not in.