So an odd quirk you may run into with macOS is that when you shutdown, your PC may instead restart itself. This is actually due to a missing S5 call that powers down the controller. Of course Windows and Linux implement hacks to get around this but macOS has no such fixes, instead we need to do the dirty work and fix their ACPI writing. Don't worry, this won't harm other OSes.
For this we need the following:
- _PTS to ZPTS Patch
- USB Controller's ACPI Path
To find the USB Controller that needs fixing, search for
_PRW in your DSDT and see what Device is mentioned within it, generally this will be something like
With the ACPI path, edit FixShutdown-USB-SSDT.dsl and compile it to a .aml file(Assembled). MaciASL can help you with this