Keep busy rather than just trying to wait for the time to pass, cool fresh air if you can, watch your surroundings, helps keep the mind occupied. Having spent a long time working on ships, there is no magic solution, although some medication can move you from the rail into the disco!