They are jointly liable for the mortgage. They don't get to keep the property if the bank repossess either, this way it is less expensive and protects the credit rating
You can also get a court order to sever the tenancy and sell the property. If he won't sign the paperwork the court will order him to sign or sign on his behalf