I know what you mean about the squats making it worse. I've had a headache a few times when doing the squats this month. Every squat just makes the throbbing worse. I can imagine a similar effect with your cough.
Keep up the great work and I hope you continue to recover!