A failed plugin update can lock WordPress into maintenance mode forever.
Why it happens:
WordPress creates a .maintenance file and never deletes it if PHP times out.
Instant fix (no admin panel needed):
/public_html/.maintenance
Delete that file.
Prevention (best practice):
Add to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '256M');
This prevents update-time PHP crashes.
