Exit CLI from Remote Asterisk Session

This is a really simple, basic question but if I’ve logged into Asterisk via the command “asterisk -r” and I want to log out or get back to the Linux CLI, is “exit” sufficient to accomplish this but keep asterisk running?

I ask because I need to log into a production Asterisk instance to check a configuration. I want to make sure that by starting the Asterisk CLI via “asterisk -r” and then backing out, I don’t kill the Asterisk service. Thanks!

That’s OK, but this is not a support forum.