Like the proverbial tail wagging the dog, a $50 solenoid can stop a $3,000 windlass from raising the anchor or prevent the engine from starting. Knowing how these simple devices work may save your cruise.