If any money was deducted for failed ATM transactions it would automatically be reversed with T+5 days, where T is the transaction date. If the money is not reversed back to the individual's bank account then a compensations for such delay would be payable by banks. Read here for details.