How to remove headlight and wiper switch without breaking them?

The switch bodies have small square bosses that prevent their rotating in the hole. There is usually a little bit of free space in the fitment. Reach under and twist the switch clockwise and counter clockwise helps loosen the bezel nut.