If the vehicle battery is dead or there is a malfunction in the electrical system and the trunk lid cannot be opened, perform the following procedure as an emergency measure to open it:
1. Open the cover.
2. Move the lever to the left to fold the seatback.

3. Move the lever to the left to open the trunk lid.
(Type A)

(Type B)

After performing this emergency measure, have the vehicle inspected at an Authorized Mazda Dealer as soon as possible.
Lights-On Reminder
Active Driving Display Does Not OperateMazda 6 Owners Manual: Rear door unit removal/installation
1. Remove the rear door glass.
2. Remove the inner handle.
3. Remove the rear door speaker.
4. Disconnect the power window motor connector, and power door lock actuator
connector.
5. Remove the rear door harness from the rear door unit.
6. Remove the bolts.
7. Remove the rear door lock act ...
Mazda 6 Owners Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...