In accordance with rule 44.2, the penalty may be one turn including one tack and one gybe. In this case, only a gybe but not a tack has been done. Therefore the penalty was not taken in accordance with the rule.