Ubuntu crontab is not triggering when site is in maintenance mode and also revert to online
When the site is in maintenance mode it makes sense that regular cron tasks are halted. For example email notifications about new content should not be sent if you are working with content in maintenance mode - unless you want users to go to a site down page.

If you manually trigger the cron to run after disabling maintenance mode it should restart the jobs.