you would use the undo button
Ctrl+Z will undo whatever step you did last, including erasing something. :)
7.3m questions
9.7m answers