Thus, if it were possible to undo a transaction, it would result in the integrity of the entire blockchain being compromised, which is impossible. Therefore, there is no mechanism to undo transactions on the blockchain, and everyone on the network must be careful when sending funds or transferring assets.
How to check transaction status
What Token Approval is and how it can "undo" a transaction?
PREVENT BLOCKING OF FUNDS
GET OUT OF TROUBLE WITH THE LAW