Sometimes you may come across some inexhaustible team that Hive still thinks you're coming in. If your "! Quit" command does not work, enter the termination character (;) and try exiting again.
--- --- Example
Beeline version 1.1.0-cdh5.7.1 by Apache Hive beeline> some unterminated command beeline> ! quit beeline> <panic!> beeline> <remember the need to terminate previous commands> beeline> ; No current connection beeline> ! quit
source share