Hitting an Estop will do it every time, unless the power supply has regen protection you need something like this, between your motor and power supply, something as simple as a diode may solve the problem also, the regen clamp is the best way to protect the power supply