Parshas Naso · Passuk 6:5
Throughout the term of their vow as nazirite, no razor shall touch their head; it shall remain consecrated until the completion of their term as nazirite of the LORD, the hair of their head being left to grow untrimmed.
Torah Temimah points to Nazir (verified).
English: “No razor shall pass.” If he transgressed, he is liable. This teaches that shaving voids the count.
A / D — Semantic or conceptual inference
If the Nazir shaves during the term, the days already counted are nullified and he must begin the count again.