What if one co-owner wants out of mortgage?

The mortgage must be paid off and the co-owner must refinance in their own name. The one who wants to take their name off the mortgage must convey their interest to the co-owner by deed.