Can I turn off electricity flow on USB ports when the PC is turned off?

When I turn off my librem mini v2, usb2/usb3 ports are still actively charging whatever is connected to them.

Is there an option when building coreboot to turn this off? I don’t want electricity flow when the PC is turned off.

Thank you.

It may be cumbersome, you may have to unplug whatever is plugged into the USB ports.

Or you could unplug the Librem Mini itself?

But I think the OP wants to know whether it can be controlled in software.