How do you repair a moon-sunroof on a 1992 Montero that will open but not close?

i have the same problem on acura opens but will not close it closed once may be loose wire or switch is bad.