That's a very good point by Anna. And I'm glad your are getting behind rationalising this.
OCD thrives on higher levels of overall anxiety. Obsessive-compulsive cycles intensify, as do intrusive thoughts, and we feel less able to break free from them. We get stuck on autopilot deep in the mire. I'm sure you seen others like this on here and some struggling to even try to deal with it who can seem in denial. I remember being like that and it was gruelling, a total hell each day.
So, indirect work like relaxation can help too.
I'm glad you are feeling better. So, now you have another piece of evidence for future reference as to how your cycles work and why things are not as your anxiety is telling you when it's acting up. Yours seems to fade after a period of intensity due to a trigger if the last two episodes are common.