The red button in the action column archives a class/group. Classes/Groups are never deleted, just moved to the Archived Classes/Groups section (accessible through the tab at the top of the page). Once archived, these classes cannot receive new zApps and zApp Books. Also, the results of the students in the archived classes will not be accessible, unless the classes are unarchived.