Stepper motor disconnection from drive
When the current is flowing trough a winding, the inductance doesn't allow for a quick change in current flow. If you disconnect, then you break the current path, the winding will produce such high voltage until the current will continue to flow. Now the dielectric strength of airis 3kV/mm, so guess what happens with your electronic parts.