Mikee,
USB is designed to be plugged and unplugged with the PC powered up.
Just switch off any power unit you have for the motors and unplug the USB (I doubt you will ever wear out the contacts but if you did they are probably easy enough to replace).
Tweakie.