There is no way to “undo” the accidental reversal. Instead, you will need to re-enter the PMT that was accidentally reversed. It is recommended you re-enter it using the original date but when you post it, make sure you post it in the same GL Period and Fiscal Year with which you hit the reversal.