Note
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.

6. Lock the bonnet lock using a flat-head screwdriver or equivalent as shown.

7. Check the no continuity between the bonnet switch terminals A and B using an ohmmeter.
Caution
Theft-deterrent control module removal/installationMazda 6 Service Manual: Inside Trunk Release Lever (Some models)
Your vehicle is equipped with an inside trunk release lever that provides a means
of escape for children and adults in the event they become locked inside the trunk.
No matter how careful adults might be with keys and locking their cars, parents
should be aware that children may be tempted to p ...
Mazda 6 Service Manual: Child-Restraint Precautions
Mazda strongly urges the use of child-restraint systems for children small enough
to use them.
You are required by law to use a child-restraint system for children in the U.S.
and Canada. Check your local and state or provincial laws for specific requirements
regarding the safety of children ...