When closing an account, the bank prefers to see that the balance is zero before proceeding. In case of money in the bank account, you can withdraw it or transfer it, or the bank will deduct some fees to cover its expenses.