How to go outside a session block with the keyboard?

Let’s say my cursor is currently in the position given by the red vertical line. How do I move the cursor outside the session block without using the mouse?

Does this Alternative to arrow keys to exit from sub/superscripts work? Or can you get to something starting from that?

(structured-exit-right) is the Scheme function to use, as @pireddag suggests.

You can either give it a new keyboard shortcut (as in the link provided above), or use the existing one, which on most platforms is Meta-Alt-Delete. On Mac it should be Meta-Ctrl-Delete.

(source: TeXmacs/progs/generic/generic-kbd.scm and TeXmacs/progs/texmacs/keyboard/prefix-kbd.scm)