The situation in which a foreclosure sale results in more money than is necessary to pay off the mortgage loan plus all expenses and costs of foreclosure.
https://financial-dictionary.thefreedictionary.com/surplus+funds