Company will transfer all your end of service and final settlement of salary to your bank a/c. and will give a notice to bank you are terminated from job. So the bank will freeze your account and transfer the proceeds to Loan settlement.