How do I delete the demo database?

In 4Matrix, go to Admin > Database > Clear Database.

You will be prompted to re-enter your password and tick a box to confirm that you wish to do this.