To exit adb and return to the system shell use the
$q
or
$Q
command.
To stop the debugger press <Ctrl>D.
NOTE:adb cannot be stopped by pressing the
Quit
or
Interrupt
key.
adb ignores
Quit;
Interrupt
is caught by adb and causes it to wait for a new command.