the mortgagor has the right to release the mortgage property by paying all debts to the mortgagee.
In case of the mortgagor is a third person (not a debtor) and the mortgagor paid all debts to the mortgagee, the mortgagor has the right to recover from the debtor.