All you need to do is reset the chains, you don’t need to recalibrate. Take a look at this for a procedure to help you recover in the future.
But as for disconnects, that’s a hard thing to diagnose. You said the USB cable isn’t running parallel with any power lines… you may want to consider a different USB cable and shortening the distance if it is long.