As others have said, learn a second language or work on a side project to combat coding burn out. It sounds counter intuitive, but in reality coders' brains are hardwired to solve problems. I find that thinking about a problem, that is outside of my day to day, is refreshing.
It doesn't necessarily need to be a coding project either. Most of the senior DEVs I know have side hobbies like woodwork, games, puzzles, music, or even art and design. Each allows the mind to express creativity and solve problems without the deadline pressure and to do so on your own terms.