If a trapped object is detected in the mechanism when the panorama sun roof is closing, a safety cut-out will be triggered and the roof will open again automatically. If this happens, you can use the safety cut-out override to close the roof.
After the sun roof opens automatically, pull and hold the switch within 5 seconds until the sun roof is closed.