Acts 18:18
Afterward Paul remained many days longer, and then told the brethren farewell and sailed for Syria; and he was accompanied by Priscilla and Aquila. At Cenchreae he [Paul] cut his hair, for he had made a vow.
During the vow, the hair was not cut. It was only cut after the vow was fulfilled.