If you take a bank loan and cannot repay it at maturity, the bank will auction your house! But before your loan expires, you can communicate with the bank and renew it! You can negotiate with the bank for details.
If you are a guarantee company, the guarantee company will take the initiative to contact you before your loan expires, and then you can communicate with them, pay back part of it first, and then renew the loan! As long as you can prove that you have repayment ability!