The command `\q` exits and restarts MySQL. The process is always running once started.
The command
\qexits and restarts MySQL. The process is always running once started.