I had a need to test the insert/remove a whole bunch for a while. Because the timing worked out, I ended up getting a programmable USB hub [1]. It worked well for my needs, but I'm not sure I'd trust it enough for a really inaccessible location.
I do wish I could find a not stupid priced version of this concept that does USB 3.1
Took me a while to find this again, but here you go: https://www.yepkit.com/product/300110/YKUSH3, a 3-port USB 3.1 Hub with switchable Vbus that doesn't cost an arm and a leg.
we use these in our CI/CD pipelines as we deal with embedded hardware. they work absolutely awesome for power cycling stuck USB peripherals or powering USB-powered boards for tests.