In most cases, a bank cannot cancel a pending transaction. It’s easier for the bank to help you when it is posted.