There is a breaker like thing, it’s a thermistor and it’s set to make sure the evap doesn’t freeze over….I should unplug mine for AZ honestly. But if both the blower motor and compressor are turning off together, something is wrong somewhere. Or something is getting heat soaked and causing power loss IE the blower control switch on the AC deck.
I’ve also had a relay die from heat soaking and stop the compressor.