Yes there is an overload device on the compressor. It is called a Klixon. It generally only comes into play if the compressor draws too much amperage.
Where is the condenser located on your freezer? If it is located in the exterior walls of the freezer & you covered it up with paneling or something it will cause the pressure of the refrigerant to rise because the unit cannot dissipate heat.
Unplug the unit for a couple of hours & see if the compressor starts back up after it cools off.