When you Add/Edit loan, there is an option called Loan Status. You can set this to Default. This will show the outstanding principal as a loss in the accounting.