Changing company?? Or Changing country??

What I know so far is once you resign or you are terminated the bank is immediately informed on that and they for sure will approach to collect all pending payments/loans.

If you can not settle the due amount you will not be granted the clearance to exit the country.

Regards!!