The pump should flow into the tank at a rate within the capacity of the overflow(eg 600gph per overflow tube).
Overflow boxes run on a siphon. Some are more reliable than others in maintaining siphon.This is the critical point in the water flow . If the siphon breaks(air enters the tube and blocks flow), the pump has no way of knowing this and keeps pumping water which will overflow out of the tank until the pump is left running dry( which can damage it) from the water leaving and not returning to the sump.using gravity in a a drilled tank is strongly preferred by most to overflows because no siphon is required as water will always flow through the drilled hole unless of course it is blocked by an animal (snail,anemone,etc.) CPRand othe so called continuous siphon overflows are highly unreliable at maintaining siphon. J/U tube types are much more reliable. I had to trash several contiuous siphon overflows after several floods and have used U tube types for about 5 yrs without a siphon break even when the power goes off. It is even safer to use two overflow devices ,each with capacity to handle the entire flow of the pump.
If the pump stops, water will flow into the sump and stop when the top of th overflow box is reached. So as noted in above posts you need to plan your sump with adequate capacity for this event.