WARNING: This page is about a different car, the 2004 Infiniti Q45. However, it is still accessible from the selected car via links, so may be relevant.
Remove connector cover.
Fig 1: Removing & Installing Rear View Mirror
Courtesy of NISSAN MOTOR CO., U.S.A.
Remove TORX bolt (T20) of mirror base.
Slide the mirror upward to remove, and disconnect the connector.