Complete List of Keyboard Shortcuts

Of course the Selection Tool must be the active tool.

Otherwise you can use the close all active edits command I linked to above.
(It allows you to exit back up to the model context and in only 1 keystroke if you assign it a shortcut, no matter how many nesting levels you’ve drilled into.)