he was beneath were they lay , crawling on all fours like a cat , skirting round the cannon , evading ramrods , shot and charges , heading towards the stern of the ship to where the deck narrowed until only one hammock lay swinging in a tiny space .