After you file

If the account was closed before the deposits then the bank would have refused the deposits and sent the money back to the IRS and then the IRS will convert them to paper checks mailed to the address on the return.