Leave the connector unplugged, pinch the fuel line just before the carb, using a thin 1\2" open end wrench, remove the solenoid. Gas will spill from the carb bowl. Catch it. If possible, leave the carb bowl in place.
On the end of the solenoid is a little plunger. Many have rubber tips...