The headlamp switch uses skin locks which grab the soft skin material of the IP. The skin lock feature may cause the switch to be hard to remove.
Pull out in order to release from the instrument panel.