complete quit command

After a test, the quit command can be executed correctly.