An update to my issue experienced about 2 years ago. Turns out it was related to the battery since the car was standing for a few days.Any update to how this was solved?
Got this exact same issue after removing the rear bumper to install the exhaust system.
If I disconnect the battery for a while and then re-connect - then try to open the roof again (whilst the lid is still open), then it closes fine.
But if I close the roof once more, then try to re-open it, it gets stuck again.
Once I got the battery fully charged, the issue went away