the guy did not resign he was terminated. ask for the official termination letter and present this to the collection department of the bank. Usually loans has insurance. this will cover the balance as long as you were not terminated due to gross negligence. Ideally you should continue working here in anther company if you have NOC.