Selling mineral rights

I want to know what happens if you have a current lease and you decide to sell to another company. Exactly what happens with the lease?