The thermostat serves as the control hub for your air conditioner system, and it tells the cooling device how to operate and for how long. So when your cooling unit keeps shutting off, check that the thermostat is set to cool and auto fan, and the correct temperature is shown on the screen.
Next, you must replace the batteries and check what happens. Likewise, ensure the thermostat never remains exposed to direct sunlight or sits too near a heat source, impacting the temperature reading. However, if these DIY tips do not work out for you, you must contact an AC repair professional.