DO NOT remove the camshaft position sensor during engine running or right after engine stops, as there is risk of engine oil leakage and scalding due to high temperature.
Turn the ignition switch OFF and disconnect the battery (-) terminal
Disconnect the camshaft position sensor connector (A), and then remove the sensor mounting bolt (B).
Remove the camshaft position sensor.