WARNING: This page is about a different car, the 2024 Mazda CX-90. However, it is still accessible from the selected car via links, so may be relevant.
Release the rear cover.
Insert a flathead screwdriver and pull out the wiring harness with the stopper pressed up.