If the headlight goes back down when you manually raise it, then the motor and relay are fine. It sounds like the headlight switch is not sending a signal to the motor. Check where the motor connects to the wiring harness and see if one of the wires is coming unplugged.
Check out this thread....
How Your Headlights Work.. It gives a step by step explanation of how they go up and down.