Almost all plastic connectors on bikes or cars have crimp on wire terminals that snap into the plastic part of the connector from the wire side.
the barrel of each crimp terminal has a barb or tang that snaps into a recess in the wire hole in the plastic and keeps the terminal from pushing out again. In order to remove them there are special tools like a very thin half tube section that can be pushed in around the crimped barrel of the terminal like a shoehorn over the barb and which allows the terminal to be pulled out the wire side with no damage. You can use a tiny screwdriver with the blade ground down thin to do the same thing in a pinch, if you don't have the proper tool.
2004 Rebel 250, 2003 BMW K1200GT (roadburner), 2004 BMW R1200GS(all purpose),
1996 Ducati 900SS CR (California Bike), 1973 Norton Interstate (in a box in the basement)