For future reference for anybody in the crazy situation where they are an admin but don’t have access to the Discourse instance’s shell…
…but are an admin and still authenticated - you can use the API:
API Key can be found here (THE_API_KEY_OBTAINED_BEFORE_GOES_HERE):
http://www.example.com/admin/api.json
List of customisations to find ID here (THE_CUSTOMIZATION_ID_HERE):
http://www.example.com/admin/customize/css_html.json
Then replacing the domain, customisation ID and API key:
curl -vs 'http://www.example.com/admin/site_customizations/THE_CUSTOMIZATION_ID_HERE?api_key=THE_API_KEY_OBTAINED_BEFORE_GOES_HERE&api_username=system' -X PUT -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data $'site_customization%5Benabled%5D=false' 2>&1