Both mortgage (re)possession and foreclosure are quite similar, with the main differences being the treatment of any funds that exceed the amount borrowed and liability for any shortfall. In the case of mortgage possession or repossession, if the home is sold or auctioned for a price that exceeds the loan balance, those funds are returned to the consumer. If the proceeds from a mortgage possession are insufficient to cover the loan then the debtor remains liable for the balance, although in most cases this will become an unsecured debt and the mortgage company will be treated on an equitable basis with the debtor's other unsecured creditors (particularly if the debtor simultaneously or subsequently becomes bankrupt or enters into a voluntary arrangement with creditors). By contrast, in the case of foreclosure the mortgage company retains all rights to proceeds from a sale or auction but the debtor is not liable for any shortfall.