transmission seed sensor on 1995 GMC Vandura 2500

how do you remove the speed sensor from transmission??? i pulled out the bolt but it wont seem to move.???

Asked by for the 1995 GMC Vandura 2500
the o ring is holding the sensor in. rotate it and pull at the same time.

thank you !!!!