Weird PC issue

when you took out the drive you musta had static somehow prolly seems like I had a set up that did simular when i tryed to hook something up in the front port of the usb soon as it touched it would restart.