that enrolled themselves as a teacher in a section of one of my courses? They did not have permission to do so.
Hi Laura and welcome to the Canvas Community!
If somebody showed up as a teacher in your course they probably didn't self enroll and were added by an administrator or via your SIS system. See Stefanie Sanders response to a similar question here: Can a teacher add themselves to a Course?
To manually remove them from your course take a look at this document: How do I remove an enrollment from a course? If you are unable to remove the individual you will have to contact your Canvas admin folks and have them remove the person.
Hope this helps.
Retrieving data ...