thankfully , the rope that he had tied around his waist and attached to the tiller held , and after the wave had passed by he managed to struggle back up to his feet , coughing the salt water out of his throat and gasping for breath .