how to re-connect to usb midi while cubase in running?

And you are…? Got to be at least a professor of computing as you seem to now all about how USB midi and Cubase works.
And yet you do not know the obvious. What the solution is. :laughing: Which you would do if you know so much.

Best bet is to read the USB device’s manual and see their trouble shooter first which is how I stabilise mine.