This chapter would not be complete without showing you how to exit psql. Use backslash-q (\q) to quit the session and exit psql. Backslash g (go), p (print), r (reset), and q (quit) should be all you need for now.