There was a time when the control wiring for the windlass used by Bavaria consisted of ordinary copper cabling. The copper corrodes in a salt laden atmosphere and will in time prevent The control signal from getting through to the solenoid. With no signal to the Solenoid, the windlass will not run. On my boat I found that the signal wires had corroded throughout the entire length of the cables, and had to renew them which is not an easy task as you have to be able to get behind the panelling.
A temporary alternative to renewing the signal wires would be to use a radio control system either from your windlass manufacturer (expensive) or from another marine supplier (almost as expensive), or to use a cheap eBay alternative such as a 12 volt winch radio control system. Many of these cheap radio control systems come with identical wiring attached to the radio receiver consisting of a grey wire with no terminal on the end which is the antenna, red and black wires which connect to your switched twelve volt supply for operating the windlass, and white and yellow wires which would connect to the + or positive directional control terminals on your windlass solenoid. On Bavaria sailboats that solenoid is encased in a black plastic lump behind your main switchboard panel. It has several terminals on top consisting of some large ones (leave them alone) and three smaller ones with thin wires attached. Two of these three smaller connections are the ones you are interested in, and both should be marked with a plus + sign. Taking the white and yellow wires from the radio control receiver, fit the white wire to one and the yellow to the other, and you are done. You can now control your windlass from anywhere within about 15 metres of the receiver.
It has been several years since I fitted this system to my boat, and in that time it has been totally reliable. The price of the radio control system has increased a little since then, but now you get two transmitters instead of one, and so that gives you the opportunity to be able to lose one of the transmitters 🤪