if you want to teach future doctors on how to be a doctor with no clinical experience of practicing as a physician on your own that doesn't really make sense...
Except that's not quite what the OP is trying to do. Finishing a 3 yr residency isn't no clinical experience, it's just significantly less than the 15-30 yrs of attending experience that a lot of the MD lecturers during M1/2 years have.
That being said, being a PGY-2 and being an attending are pretty different experiences. OP sit down and make a list what's making you feel like clinical medicine doesn't work for you, what you do like about it, and what you're willing to accept in terms of lifestyle/income in order to be in the job you want.
If you went into EM, it's unlikely you're just a blanket misanthrope. If you find it unsatisfying to take care of your current hospital's population, who do you like taking care of (rural patients, kids, vets, worried well, high SES, etc)? If you feel like the actual practice is too cognitively exhausting, where are your stumbling blocks? Almost everything from a cognitive/procedure standpoint in EM is a skill that can be improved. There are tons of resources for breaking down complex, highly stressful situations into discrete, manageable tasks. If you're looking at teaching, have you looked into EMS direction?
If you're certain that exclusively being a pit doc isn't tolerable as a career, start taking action now. The people in charge of handing out jobs and appointments cast their favor with the applicants that are running towards something, not away from something. If you want to teach, then start picking up teaching roles. If you want to do tox or wilderness or admin work, find someone that's doing that and become their mentee. Aiming for pretty much anything other than pit doc is going to require significantly more initial upfront work.