This plug, cut off of a sustain-pedal cord, shows the residual effects of gravity
combined with downward pulling.
As commonly happens with straight, molded plugs like this, an
electrical break occurs within the bent
section, causing the pedal to fail
or to work intermittently.
right-angle plug is great for keyboard
pedals. It keeps the cable wires from fraying and is less prone to broken or intermittent connections.
If you have a soldering iron and a vice, you can fix your sustain pedal plug for good.