It gets worse when you fully quit. For me it took two weeks: headaches, muscle fatigue, flu like symptoms, anxiety, lethargy, etc
Then it was all gone. Not too serious. But, the headache you're describing is just the start of withdrawing.
The literature suggests 4-14 days for withdrawal iirc. Less sure about the lower bound.