If you're googling how to exit nano you're blind. The one thing nano does right with its defaults is to list all the common bindings at the bottom of the screen
It totally obviously means shift + 6 + X.
Too bad that doesn’t exit the program.
Macs in 2022 have an extra ^ on the correct button.