You can quit Emacs with the following keybinding:
C-x C-c
Where C
is the control
key.
You can suspend Emacs using the following keybinding :
C-z
It gets you back to your shell. If you want to resume your emacs session, enter fg
in your terminal.