We can also end this from CLI.
#dbc " update ap set planned_maintenance_mode = 0";
This single command will end planned maintenance for all the devices. in case you want it to end it for a single device, use a filter like
#dbc" update ap set planned_maintenance_mode = 0 where id = ??";
you can also find a way to run this command automatically via a Cron job