Hi Fernando, time to break out your volt meter. We had that happen a couple of times many years ago, taking some trouble shooting steps to isolate the problem. First, the power cable to the windlass on our boat is mounted directly on the lower house bank battery. The switch solenoid for the windlass is mounted inside the engine room just to the right of the door. The main circuit breaker for the windlass is mounted on the engine room power panel.
After you turn on the windlass switch on the main power panel, use your volt meter to verify that you have power on both sides of the windlass circuit breaker and solenoid. If not, something may have caused the breaker to pop. Ours did when an overload occurred. Very hard to reset. I had to place my thumb on the button and press very hard with my palm to get it to reset with a firm loud click.
After that it is a matter of verifying that you have power to the foot switch in the anchor well. If so, verify that you have power to the motor by accessing it by removing the access panel in the V berth. If all that checks out, the motor could be shot. The original Maxwell on our 1991 boat still works like a champ, and I've used it a lot over the years.
Another step to verify whether the motor is shot, directly connect a battery source to the windlass power terminals to see whether the motor spins. If it does, then there is a problem somewhere else in the circuit.
Please let us know what you find as the culprit.