If there is a successful bidder at the foreclosure sale, the auctioneer will collect the monies, in certified funds, and they will be distributed to you by the foreclosure etrustee.  If there is not a successful bidder, the property will revert back to you as the foreclosing lender for the amount you bid.  As a beneficiary of the loan you can “credit bid” up to the amount of your debt.