Mine has started doing this. It tries to close and when it gets to the very last bit it just opens up all the way again.
I've tried pushing down on the rails right before it pinches my fingers and pulling down on the knob while I turn it to the close position, neither one works....
Fucking VW pos
Hope your sunroof isn't still open.. but heres my observation on fixing this.
Sunroof problem just happened to me too, first "hot" day, outside temp like 80-85. As best I could tell, you can't turn it from (open) to (close) and immediately (pull down). It only worked when I finally stopped and let the sunroof cycle through once.
So to make it clear:
1. Turn from (open) to (close)
2. Allow it to malfunction and retract back into the open position
3. With the button still in the (close) position, just pull down and it should close
I was only able to do this once because it no longer malfunctioned after I did this so I don't know if the dial has to be held down, or just briefly pulled down (my best guess, held down. It doesn't hurt to just hold it down till close)