It depends on the terms in the loan contract.
If the lender is allowed to collect what is owed from the borrower after taking collateral, then it is a recourse loan.
Please read this IRS document for more information.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"