AppleScript to pause / resume Hazel?

https://www.noodlesoft.com/forums/viewtopic.php?p=2798 is pretty old and was the only reference I came across while searching for this.
There are times when I would like to quickly pause Hazel, do something, and then resume Hazel again¹
Is there a way to do that using AppleScript or some other reliable form of automation?
Before you ask: I don’t have Hazel shown in my menu bar (which is already overcrowded, even with Bartender) so that isn’t an ideal solution for me.
¹ (Generally this is to avoid Hazel asking to “uninstall” an app when all I am doing is installing an update. I don’t want to turn off Hazel’s uninstall feature entirely.)
There are times when I would like to quickly pause Hazel, do something, and then resume Hazel again¹
Is there a way to do that using AppleScript or some other reliable form of automation?
Before you ask: I don’t have Hazel shown in my menu bar (which is already overcrowded, even with Bartender) so that isn’t an ideal solution for me.
¹ (Generally this is to avoid Hazel asking to “uninstall” an app when all I am doing is installing an update. I don’t want to turn off Hazel’s uninstall feature entirely.)