I will agree that a USB port problem can cause a reboot or shut down. But it wouldn't cause a buzzing noise (what was buzzing anyway?) and it shouldn't be necessary to disconnect the battery to get it running again. Having to do that would indicate some other problems with the computer that need to be attended to.
If you read through the threads here the most common symptom of a bad cable will be the iPhone won't charge or goes into recovery mode or an error message in iTunes. You seem to have a lot of problems with all of your Apple gear.
I don't know the exact mechanism behind why plugging certain cables/devices to a USB port (and it can include Lightning or other USB devices) shuts down the entire machine or why it's in a locked state where nothing works outside of removing all power via disconnection or waiting for a complete battery discharge. It happened to me once, but never since. It all seems to follow the same script, which is that as soon as the USB connector touches the Mac USB port everything goes dark, except maybe the MagSafe connector light starts blinking (often different colors) until it completely goes out. Everyone seems to try SMC reset, holding down power, etc. I paid attention to the noise from the board but it doesn't sounds like other noticed it.
However, I personally experienced this and no amount of you expressing that it's not possible or that I made it up changes that it happened to me. This was just an aside about one thing I've personally experienced from using an "unauthorized" cable and somehow you turned it into this.
I normally don't get this defensive, but you accused me of making stuff up just to spread misinformation. Of course I don't expect that you're going to back down from your position that I made it up. Or acknowledge that others have experienced the same condition (and the same solution) as I did. I revisited that topic because there's another guy claiming that he can't operate his MacBook Pro (can't power up or down), and I thought that perhaps disconnecting the battery connector could be a means to fix it.
power adapter works but no light at adopter connection point and no power