The lender won't release the mortgage and you won't be able to settle without the mortgage discharged.
You may be able to negotiate with the mortgage to convert the shortfall into an unsecured loan, but this would generally be not easy to do and they will be unlikely to forgive debts in this...