Shortcut for getting out of code block?

This is a common pain point and there must be a keyboard short cut for this?

Scenario: I’m writing things in a code block. I’m done writing and I want to go back to dedented plaintext. cmd+[ doesn’t work. I have to go to the format pane to click out of “pre” style mode.

I noticed that after ~10s, the cursor will automatically dedent itself and back to plain text (which is nice!). But this means I have to wait for it each time. Is there a keyboard shortcut?

Thank you.

Control-command-0 will revert to body text again.