Remove the regulator handle clip using a rag as shown.

Inner handle removal/installation
Regulator handle installationMazda 6 Service Manual: Technical data
ENGINE
LUBRICATION SYSTEM
Note
The maintenance intervals on scheduled maintenance table (See
SCHEDULED MAINTENANCE TABLE) can only be supported by the use of following
oils.
Recommended engine oil
COOLING SYSTEM
FUEL AND EMISSION CONTROL SYSTEMS
ENGINE ELECTRICAL SYSTEM
...
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 ...