Two reports describe a similar episode: after water got into the USB socket, the metal part of the cable picked up an unexpected voltage, and when it touched the bike's body the engine and dash switched off. This may be one case told twice, so the reports can't be counted as two independent failures.

What not to test by experiment

Don't repeat touching the cable to the frame with the engine running. If you suspect a fault, disconnect the accessory and have the socket checked. A cap closed after rain doesn't remove water that has already got in.

What is checked

Polarity, voltage relative to earth, and the condition of the socket, converter, connectors and supply. Charging working does not in itself prove the electrics are healthy: in the case described, the phone kept charging.

Drying may help with surface moisture, but a damaged converter needs repair or replacement. A dielectric compound must not be used instead of restoring the circuit.

Replacement

One owner adapted the insides of a third-party charger to the stock housing. That is a one-off home modification without confirmed compatibility or protection, so it can't be treated as a ready solution.

After replacement, check the correct supply and protection, the sealing and that there is no abnormal voltage on accessible parts. Other faults after water are collected in the electrics article.

Related