If the selector lever will not move from P using the proper shift procedure, continue to hold down the brake pedal.
1. Remove the shift-lock override cover using a cloth-wrapped flat head screwdriver.
2. Insert a screwdriver and push it down.

3. Press and hold the lock-release button.
4. Move the selector lever.
Take the vehicle to an Authorized Mazda Dealer to have the system checked.
Shift-Lock System
Transaxle RangesMazda 6 Owners Manual: Oil pump
OIL PUMP REMOVAL/INSTALLATION
1. Disconnect the negative battery cable.
2. Drain the engine oil. (See ENGINE OIL REPLACEMENT.)
3. Remove the oil pan. (See OIL PAN REMOVAL/INSTALLATION.)
4. Remove in the order indicated in the table.
5. Install in the reverse order of removal.
6. Inspect the en ...
Mazda 6 Owners Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...