I'd probably use a comparator with an open collector output and a temperature sensor at the input. When the temperature exceeds a certain threshold the gate signal to M2 to M4 will be clamped to 0V, by the comparator, shutting the regulator down.
Another comparator could be used to switch the...