If the wiring is still connected at this stage, pull the unit out far enough so you can pull the wires off their connectors, then remove the unit completely.
Many modern cars are now designed so that their lights are built as a one-piece unit known as a c...