If the transaction is confirmed already then you cannot undone it. But otherwise I read some tricks that will make some adjustments while the transaction isn't confirmed yet. I found it in the first page of this this thread but I didn't verify since you need to do it accordingly.