The solenoid may be powered by the up/down switch(es). The motor
is going to have a heavy cable directly to a battery
or junction point, with a fuse or breaker in between.
The problem may well be the motor, but make sure the heavy cable is energized before taking anything apart. And don't forget the #1 rule
in all marine electrical
troubleshooting: Check for a good, clean ground.