Even doctors have to work for a living. That makes them a cog too.
Nothing wrong with seeing where you fit, and securing your future with strategic choices to get away from toxic shit. But you're still a cog.
And you can be an engineer and still be a cog.
The other name for a "cog" is a proletariat.