A Raspberry Pi does not have an On/Off button to properly shutdown the operating system.

Simply disconnecting the power button causes corrupted SD cards in the long run.

The MoodleBox has a server setting to first shutdown the OS before you disconnect.

Log in the Moodle instance of the MoodleBox and visit Site administration > Server > MoodleBox in the administration interface.

After you press the button you will see the following message