Up inside the compartment, you'll see both the rear hatch shock on the outboard side and the rear window shock on the inboard side. To remove the old shock, use a long screwdriver in between the chassis and the shock, pry the end of the shock off (green arrow). There isn't a lot of room to work with here, so you'll have to kind of play around with it until you hit the sweet sport and the end pops off.
Shown here is a new set of rear hatch shocks for the Porsche Cayenne. Replacement is relatively easy, but does require removing some trim panels to access them. In this article, I will go over the steps involved with replacing them and keep the rear hatch from falling on your head.