Yes, this page contains the way to exit the vi (or more modernly, vim) editor, just scroll to the end of this page. But please, before you just quit and forget the best text editor the GNU/Linux and UNIX platforms have to offer, please take a look at what you can do with it.