I haven’t found any .maintenance file.
However, I was loooking into some files (like wp-config.php and wp-settings.php) and found this on wp-settings.php’s line 49:
// Check if we’re in maintenance mode.
wp_maintenance();
Maybe it’s something related? Maybe putting two slashes before “wp_maintenance();” can be a solution?