147 electric sunroof issues
Nice dayt today, so popped the back of the sunroof up to keep cool...
Returned home and parked the car, left back of sunroof up and locked the doors.
Heard alarm so 'peeped the key fob as I assumed it was only air movement inside the car causing the alarm to go off.
However, just went out to close the sunroof and the switch did not operate the roof - even with the car running, so I resorted to dropping the panel and winding it down using an allen key as it was starting to rain.
Unfortunately, the switch then started working again and it now does not operate on all positions in the rear pop-up mode.
What should I have done and what should I do now - any way to perform a reset or does it need a new switch?
Thanks in advance.