1. Insert a screwdriver between the mirror and the base.

2. Push the base pin down to remove the rearview mirror.
Rearview mirror
Rearview mirror installationMazda 6 Service Manual: Steering gear and linkage removal/installation
Caution
Performing the following procedures without first removing the ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it
is pulled by mistake. Before performing the following procedures, remove the
ABS wheel-speed sensor (axle side) and fix it to an appropri ...
Mazda 6 Service Manual: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...