The most common use for the yellow wire is to activate Back-up
lights on the trailer. I had to dig into my Honda Odyssey's harness in the left quarter-panel to find the supply wire.
If your trailer does not have back-up
lights, or you don't want to bother with them, leave it disconnected.