If the ATM provider or bank has not accepted the payment, the funds will be reverted back to your account. The ATM provider can also cancel the transaction.