Not sure I fully am understanding if the breaker is triping or not from how you describe it. Assuming the breaker has not triped it sounds like the thermal overload protector in the motor is triping and when you take power off it resets. This could be due to inadequate cooling. Do you have a good airflow to the motor, or are the openings blocked?