how to leave a class.
I'm not sure if you realized it or not, but you posted your question to the global Community of all Canvas users. As such, we don't have access or information about class or school specific information/policies. For this type of question you'd want to contact your schools registrars office, your student advisor or possibly your instructor of the course to find out your schools specific policy for dropping a class.
Retrieving data ...