in the MC’s setting part there are possibility to temporary disable monitoring on Splunk infra (not UF) host base. Settings -> General Settings -> Then select edit on host line.
But if you want to disable monitoring of UF that't not possible on MC. You must create own dashboard / alert for those and use e.g. lookup where you are putting those nodes on maintenance mode and remove after maintenance.