Servo causes disconnection
Have a look at the current requirements of the SG90 and compare this to the maximum current available from an Arduino Uno.



Another thing to look at is how much current your computer's USB port can supply. My laptop, for example, can only supply 500mA per USB port.

My advise is to use a separate 5V power supply for the servo.