What program are you using to control the machine?
If you are using Carbide Motion, there is no way to change the end-of-job behavior. There’s a feature request here: