I'm assuming you have a bigger windlass like the Lewmar 1000 with a 70 A breaker. Helm/foot switches normally cannot handle the high amp loads imposed by a larger windlass so a relay is required. There is typically a high amp relay that works (up/down) from a 12V (lower amp) signals from the helm switch or foot switch, usually located near the windlass. Most likely it is frozen in the "down" position. You can disconnect the signal wires at the relay that feed the dash and foot switches and if it still runs out, it's the relay. On my 330, that relay is located inside the anchor locker near the top, port side. There will be thick (high amp) wires feeding the windlass and coming from the dedicated breaker aft near the batteries. There will also be thinner signal wires that come from the foot switch (if you have one) and the helm switch. You can isolate the problem by disconnecting the signal wires to see what is causing the problem. It is more likely to be the relay as it is exposed to a harsher environment in the anchor locker (if it is like my 330).