I'm with Steve Bean as far as troubleshooting the issue. It could be something really, really simple to fix. Check each termination of all the
cables and the condition of the
cables and lugs. Grab each cable at each terminal and see if you can wiggle it and tighten if loose. From the
battery to the circuit breaker to the solenoids and to the windlass. Check both the positive and negative. You should also make sure each cable is secured by wire ties or clamps as close as possible to each termination. The bow takes a pounding and cables can come loose if allowed to flop around. You could also have a worn out solenoid. And of course it could be the windlass has a problem. I have also seen abraded cables where the cable was near something sharp or rough in the middle of the cable, often in the
bilge without anything keeping it from moving around. I have seen "green death" so bad the cable would come apart just picking it up.
Note that some windlasses do not like to down haul the chain/anchor even if they have that function. Check your manual. With practice and a good setup it should be relatively easy to just let it free fall, under control, not just spin as fast as it can go, although I have seen skippers do that.
But do what works for you.