When using an external monitor on an iPad, entering command mode (regardless of shortcut) exits the window and selects the next one on the iPad’s screen.
This is not an issue when, say, pressing esc from a search field or other websites, but is when inside a notebook…