WARNING: This page is about a different car, the 2007 Nissan Maxima. However, it is still accessible from the selected car via links, so may be relevant.
Remove inside mirror finisher.
Slide the mirror upward to remove.
Disconnect the connector.
Fig 1: Identifying Inside Mirror And Inside Mirror Finisher