Numbers 30:5

30:5 But if her father overrules her when he hears about it, then none of her vows or her obligations which she has pledged for herself will stand. And the Lord will release her from it, because her father overruled her.

Numbers 30:8

30:8 But if when her husband hears it he overrules her, then he will nullify the vow she has taken, and whatever she uttered impulsively which she has pledged for herself. And the Lord will release her from it.