To turn-off or disable (and vice-versa, to turn on and enable) Drupal 7 maintenance mode using Drush:

  • to turn off maintenance status: drush vset maintenance_mode 1
  • and to turn it back on: drush vset maintenance_mode 0

To disable or enable by settings.PHP, see this article – How to turn-off disable (or turn on and enable) Drupal maintenance mode and status via settings.PHP without Drush

To disable or enable by editing database using phpMyAdmin, please see this article – How to turn-off disable (or turn on and enable) Drupal maintenance mode and status via phpMyAdmin / database