My sunroof is stuck in the vent position. It is not raining yet (thank god)!

I turned by dome light on and when I pressed the sunroof switch either way the dome light dims a bit. This gave me an indication that power is getting to the sunroof motor, but all is dead otherwise.

Any advice, thanks.