You used to have to option to drop/ un-enroll a class to make it go away from your dashboard. I did that to 4 courses in the past and now its no longer an option. how am I supposed to get rid of past classes?
The drop/un-enroll a class option within Canvas on your dashboard is not a standard out of the box option that Canvas offers. This sounds like something specific your school added and you will need to reach out to your schools help desk for additional assistance on why you do not see that button anymore.
Here is some Canvas documentation about how to manage what courses are shown on your dashboard through the Canvas interface.
How do I customize my Courses list as a student?
Brian is possibly correct but there is one other option. For classes that you self-enroll into there usually is a button to unenroll. But if someone else or a system upload added you to the class you will not have that button present and would need to have someone higher up remove you from the course.
Retrieving data ...