There is a command to cause a quit - it's identical to the command on the serial port (the same protocol runs over serial, USB, tcp).

Hugo