There is insufficient air circulation. The appliance heats up and switches off for safety reasons.
Check whether the air inlet or vent grille is blocked and remove any items obstructing the passage of air.
The cooking process can be continued after a cooling phase.