What in the world gave you an idea that the company will shoulder your bank liabilities? The truth is you will not be allowed to exit Qatar if you have loan from the bank whether you resign or have been terminated by your employer.