If you want to exit the SQLite command line shell, the command is dot exit... .exit