A legal proceeding in which a mortgage is terminated, usually by sale of the mortgagor's interest in the property secured by the mortgage.