Did you try moving it back by hand, maybe while flipping the switch to move it too? I looked through my Haynes manual and saw how to remove the regular windows, but there's nothing dealing with the sunroof. You could try removing the trim/weather stripping around the window, but be careful about your headliner.
I'm not sure though how the sunroof is set up or anything, so don't try anything yourself unless you feel fairly confident you won't make anything worse
You might be best off taking it to the dealer. I don't know how much it would cost, but if what I payed to get an O2 sensor replaced (I know I know, I should have done it myself

) is any indication, you may be looking at about $200, maybe more. Good luck.