"Edit locked fields: You will be able to restore the API imported transaction if something goes wrong." How can I restore the API imported transaction?

"Edit locked fields

This transaction will be deleted and a duplicate editable transaction will be created instead. You will be able to restore the API imported transaction if something goes wrong."

How can I restore the API imported transaction?