In the poem “Sea Fever” by John Masefield, what seems to be the attitude toward giving in to restles

In the poem “Sea Fever” by John Masefield, what seems to be the attitude toward giving in to restlessness and following a whim?