Ever heard the saying “You can’t fix stupid”? Apparently, in some cases you can.
When working with an Azure virtual machine (VM), it is possible to disable the network card in the VM. Which will promptly cause your connection to the VM to stop, making it very hard to fix the problem that you just created.
I haven’t done this myself (at least not yet, I’m sure I will), but I can see how it can easily happen. My friend Kyle, aka Windows PC Guy, must have “had a friend who did this”, and he was kind enough to post how to fix it. Thanks Kyle!