You'll always see a spark in a live circuit when a wire is connected or disconnected.
In the future, disconnect the battery before doing any work that involves the electrical system to avoid accidentally damaging circuits or accessories.
Last edited by Otto Skorzeny; 10/09/2022 7:43 PM.