manufactures stick to a wiring color code for consistency. Red 12v+ , black 12v - / ground, oranges ignition (maybe) yellow safety circuit (usually)
The length of the wire limits where it could be terminated. Th exposed wire may indicate that it was in a connector. What is the model and serial of the mower? I'll see if I can find a schematic.
Thank you. I looked up underneath the frame where it looked like the wire was pointing and I couldn't see anything. I may have to tear apart the body panel to get a better look.Look for a connector like the one shown with the red wire going to it but this connector will be missing the wire. the wire is not very long so it has to be close. Good luck