This analogy works for conditional benefits (unemployment insurance, food stamps etc.) but not for UBI.
The question is what happens if sailors get, say, 20% of their salary whether or not they step on a boat?
(I'm not even commenting on UBI, I'm just a pedant)
Thinking Unconditional Basic Income will make people lazy is like thinking lifeboats make sailors careless. Nobody wants to be in the lifeboat forever, but it sure is comforting to know it's already there for you without conditions when you need it to keep you afloat.