Connect a load switch to output
Taking a lot of liberties here but maybe something like this is what you are looking for.
If nothing else, it's a good starting point to learn about high side switching.







simulate this circuit &ndash; Schematic created using CircuitLab