4SD
1. Remove the trunk end trim.
2. Remove the fasteners, then remove the trunk side trim.

3. Install in the reverse order of removal.
5HB
1. Remove the trunk end trim.
2. Remove the trunk side upper trim.
3. Remove the cargo hooks.

4. Remove the fasteners.
5. Pull the trunk side trim toward you, then disengage clips A from the body.
6. Install in the reverse order of removal.
Rear package trim removal/installation
Trunk side upper trim removal/installationMazda 6 Service Manual: Scheduled Maintenance (U.S.A., Canada, and Puerto Rico)
Follow Schedule 1 if the vehicle is operated mainly where none of the following
conditions (severe driving conditions) apply.
Repeated short-distance driving
Driving in dusty conditions
Driving with extended use of brakes
Driving in areas where salt or other corrosive materials are used
...
Mazda 6 Service Manual: Bonnet switch inspection
Note
Bonnet switch has a built-in bonnet lock.
1. Open the bonnet.
2. Disconnect the negative battery cable.
3. Remove the radiator grille.
4. Disconnect the bonnet switch connector.
5. Check the continuity between the bonnet switch terminals A and B using an
ohmmeter.
If there is ...