he woke gradually , very cool and comfortable , except for a little smacking of sand at the corner of his jaw ; he raised his head and spat it out , and startled : he was overbalancing , and his hindquarters went tipping away underneath him as though he were on the deck of a ship plunging unexpectedly down into a trough .