To remove the crank sensor, you will need to:
Disconnect the pigtail connector.
Remove the bolt that holds the sensor in place.
Pull the sensor straight out of the engine block.
Be careful not to damage the sensor or the pigtail connector when removing it.