Engine shuts down will restart only after a while

When I cut off the engine by mistake (shift slip ie ) the restart comes around but only after about 5 to 15 minutes . The last time this happened the car was at an intersection and this situation is getting dangeous.
Why is the restart taking so long ?

We needs some more info. Standard shift transmission or automatic transmission? Does the engine turn over but refuses to start? It may just be a neutral safety switch problem but more info is needed.

Please explain in detail how you cut off the engine by mistake…