I wouldn't be too worried about losing career steam. There are plenty of things for a person who can code but doesn't have a passion for it to do. In fact, there are probably many more roles a person like this can take than someone who just wants to code all the time. And they can be a lot more lucrative.
Burnout is probably going to be a good thing. Some people need to be forced to consider alternative career paths and skills to develop. Burnout will definitely do that. The new direction will ultimately prove to be valuable later on, but you won't realize it in the moment.