The idea of maintenance mode is to prevent any users other than admin to use the site while the maintenance process takes place.
When students/guests/teachers try access a course in maintenance mode, they will obtain a message saying the course is in maintenance mode. A customized message may be added, perhaps stating when the site will be available again or giving the reason for doing maintenance.
- Using Moodle Maintenance mode? forum discussion