hi i've been in that situation before.Terminated also with bank loan but i can still go home without any hussle.if you will ask the bank if your loan is insured furely they will not say YES even there is because they want you to pay.honestly and based on my experience loan and credit card are insured.once my company told me that i can go they just request an exit permit for me and thats it.if they issued you exit permit nobody can stop you from going out of qatar.