`Notebook.command_mode` is a no-op if already in command mode.