If the assignment you are referring to uses Guides, check out Restore Current Files as that may do what you need but if not discuss with your class instructor as they can Reset Unit for you and you can then start the unit again.
If you also let them know what you did , they may want to review the unit(s) you are working with to help mitigate this problem for you and other students in the future