Remotely unplugging a USB device on my Mac, without touching it
Tonight I was remote debugging a USB-C device with custom firmware, which was plugged into my Mac Studio at work. I was accessing it over a WireGuard VPN tunnel. Part of the debugging process involves flashing firmware to the device using MIDI SysEx messages , and while handy, this technique can also be flaky, leaving the device in a partially-flashed state that needs a physical re-plug to recover from.