BeagleBone restore factory defaults


I have a baeglebone A5 from my university. I install ubuntu to the device, i want to restore the factory default state. How can i do this?

Thank you for help

Did you backup the original SD card? If not you can download the original image file from here and reprogram it.

All you need to do is create and SD card with the default image on it.