Here is another quick way to disable/enable Pi-Hole on a Mac OS.
Change Mac OS network DNS on the go with UnoHelper :
<Mod Edit: Foreign applications not allowed as attachments, please post links to compiled applications. - DS>
Modify with Xcode or a text editor, inside the app, the XML file dns.plist.
/UnoHelper.app/Contents/Resources/dns.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>IP</key>
<string>192.168.0.10</string>
<key>name</key>
<string>Pi-Hole DNS</string>
</dict>
<dict>
<key>IP</key>
<string>192.168.0.1</string>
<key>name</key>
<string>Router DNS</string>
</dict>
<dict>
<key>IP</key>
<string>8.8.8.8</string>
<key>name</key>
<string>Google DNS</string>
</dict>
</array>
</plist>
Open the app and switch DNS to the one you want.
Disclaimer : I'm not the author of this code.