Undo accidental mode change