Use a mcu's pin to float the regulator's GND pin to shut it down. Ground that pin to turn on the regulator.