You can use the Ctrl + Z keyboard shortcut to undo the command. Furthermore, repeat the abovementioned methods, like an on-off switch.