Blow clean thoroughly around the sensor with compressed air before removing it.
Remove the sensor mounting screw and allow to hang in place.