eventually the diver had gone down again and attached a rope to the branch , but the wood had become so deeply enmeshed in the gears which operated the valve that the men above hauling on the rope could not pull it away .