Monitors should be cancelled in maintenance mode, but in the bug-5028-detach scheduler regression test, the dummy01 monitor is not.
Also, that is currently the only regression test for maintenance mode. We should test more scenarios.