Go work on embedded stuff. There are lots of jobs where you work primarily with electrical engineers. It is pretty much the opposite of front end work.
I have relevant background to say this, although my embedded work is very rusty. I have an EE degree and a small amount of experience with electronics. I’ve been doing web front end for over a decade which was mostly 100% JavaScript SPA dev work (recently quit because browsers are hell: I did like the money and some of the challenges!).
Embedded is a pretty stable ecosystem though. Most of the "new" stuff is introduced on the order of years.