Not to worry - your students' data has not been lost.  You can simply create a new class section and provide the new class code to your students; they can enter the new class code into their student dashboards, and you'll see them appear in your new class section, just as if it were the old one.