After you file

Once a tax return is filed and accepted you cannot change the direct deposit information on the tax return.  Since the account is closed the bank will reject the direct deposit and return the federal tax refund to the IRS.  The IRS will mail a refund check to the address entered on the tax return.