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: Exterior lighting system
...
Mazda 6 Service Manual: Electric Parking Brake
The electric parking brake equipment applies the parking brake using an electric
motor. When the electric parking brake is applied, the electric parking brake switch
indicator light turns on.
WARNING
Do not drive the vehicle with the electric parking brake applied:
If the vehicle is driven ...