2000 Pontiac Sunfire Sunroof won't close

You had to remove the headliner? Wow! Well, now that you’re in there, go for it. I’d try an allen wrench and see if the sunroof moves.

My car has an allen wrench specifically for this purpose, and an access port near the rear window. Luckily, I’ve never had to use either of them.