The question is, did this windlass work without tripping the breaker in the past?
Are you using the engine to drive forward as you retrieve the anchor?
Or, are you using the windlass to pull you forward? That can be an excessive load on the windlass.
Have you serviced the windlass recently? Check the electrical connections for corrosion?
Corrosion on the terminals can create resistance.
If you have a clamp on amp meter, check current through wires and compare to breaker. It might be a bad breaker.