he clung to her , and scrabbled with his other foreleg at the great side of the ship , rising up before him ; he managed to catch at a porthole , but the ship listed towards him alarmingly , and cries of warning came down .