In a separate discussion I posted a picture of my old windlass/capstan.
I am wondering why the electric motor shows 3 wires, one negative and 2 connected together (red and green) to the positive as shown below.
At first I was thinking about the up/down shown on the upper diagram but there is only a pull/push switch to activate/deactivate it and as the two directions wires are connected together this would not work.
The second diagram makes more sense but that means it was not wired properly as the PE and Positive are connected together.
From Psneel second diagram and some other search I did I would tend to a frame ground wire (the green one on the picture). I will test continuity between moto frame and the wire.