Does your old course appear empty when you check your gradebook?
Try "showing concluded enrollments" to show your student names again. Here's how:
From your gradebook, hover over the header "Student Name" until the magic three dots appear. Click on the three dots.
Click on "Concluded Enrollments" and "Inactive Enrollments" under the "Show" category