Strange Headlight problem

If you unplug the dimmer foot switch, doesn’t that disconnect power to both the high and the low beam headlights?