Sunroof spins!!!

Greetings!!! Have a question to you again, and I think you can certainly help me (please); the following, since it is at the moment quite warm outside, I had tilted my sunroof, when I wanted to close it again, for the motor with the SD almost completely too but not completely and then immediately again; as with a fixed lifter which is pressed down with the hand and reopened, I hope to describe it vividly! managed it only with bitsl luck to close it again! on the first race when opening, press on top from the outside and then put on, then it went; that happened to me now 2 times, because the first time I didn’t really want to have it true!!! viell you can help me how it can make the SD spark as it should (or was earlier) many thanks lg ChP