All repair and adjustment work with a mechanical sunroof is recommended to be carried out in a car service.
If the sunroof is powered, then if the drive fails, check the wiring and fuse.
The hatch can be opened and closed manually with a hexagon key.
For access to a socket of a manual drive remove an overlay, having switched off ignition.