How do I turn off USB tethering or restart USB connection via computer/PC's terminal? How do I turn off USB tethering or restart USB connection via computer/PC's terminal?
Fastest, foolproof way is just unplug it, that terminates the connection and the service. Otherwise the answer above is useful, or you could just issue adb reboot (assuming you have USB debugging on). Otherwise you'd need to find the PID in your PC operating system and stop that service.