Compressor/fan motor overload could result in thermal shutdown.
Compressor thermal shutdown: Check refrigrant level.
Fan motor thermal shutdown: Bearing might be worn.