Undo button used by accident

Others have had your experience, and it is the subject of more than one previous thread (e.g., Location of undo button).