he heard peremptory shouts from the shore and quinn , standing up in the boat , clinging to the mast and shouting back in irish , but grey was too dazed with cold and exhaustion to worry much about what he was saying .