Android exit sqlite shell
<p>I'm using sqllite3 on MacOSX's adb shell to view my application database using:</p>

<pre><code>#sqlite3 mydb.db
SQLite version 3.5.9
Enter ".help" for instructions
sqlite&gt; quit
...&gt; .quit
...&gt;
</code></pre>

<p>After I wrongly typed the <code>quit</code> command above, instead of the <code>.quit</code> for example, the shell goes into the <code>...&gt;</code> prompt where none of the known commands seem to work. I can't even get out by CTRL+C, CTRL+/, ESC, etc. </p>

<p>I have to APPLE+Q i.e. quit the terminal instance to restart. I know this isn't exactly a programming question, but it really is annoying enough for me to write here.</p>

<p>Does any one know how to restore sanity to the terminal after such errors without relaunching terminal?</p>
