I don't follow. If you jumper two pins, and the sunroof closes, doesn't this mean that the motor closed it? Since you were able to make it move, I would suspect that the motor is fine and start checking different switches.