1. Check under the hood area to make certain all filler caps are in place and all loose items (e.g. tools, oil containers, etc.) have been removed.
2. Lift the hood, grasp the padded area on the support rod, and secure the support rod in the clip. Verify that the support rod is secured in the clip before closing the hood.

3. Lower the hood slowly to a height of about 20 cm (7.9 in) above its closed position and then let it drop.
CAUTION
When closing the hood, do not push it excessively such as by applying your weight. Otherwise, the hood could be deformed.
Opening the HoodMazda 6 Owners Manual: Solenoid valve inspection
Resistance Inspection (On-Vehicle Inspection)
Caution
Water or foreign objects entering the connector can cause a poor
connection or corrosion. Be sure not to drop water or foreign objects on the
connector when disconnecting it.
1. Disconnect the negative battery cable.
2. Remove the ...
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.
...