When you are finished and want to exit screen, type CTRL-A CTRL-\\.
When you are finished and want to exit ``screen``, type CTRL-A CTRL-\\. If your keyboard does not have a \\-key (i.e. you need an obscure combination for \\ like ALT-SHIFT-7) you can remap the ``quit`` command:
- create ``~/.screenrc``
- add ``bind q quit``
This will allow you to quit ``screen`` by hitting CTRL-A Q.