You may have to talk to an real estate attorney to see exactly what your options are. Usually a lease transfers with the property. The new owner should take the property subject to the current lease and needs to honor the terms of that lease. The tenant needs to honor their end of the lease as well.
If both parties agree to end the lease terms, then that is ok as well.