stupid dash ?..

alright fellas. im starting to pull the dash out to paint it.. first snag.. how do i get the headlight switch out without snapping it off? the wiper just pulled out.. easy enough.. any help?