and as his brain began to accept death as inevitable , as he thought how easy it would be to give himself up to the sea , a bass thud sounded in his head , like the beating of a drum , or perhaps the dying pulse of his heart .