….. What if the engine had a BCR, would that d’energize before saving the data?
No. The data is saved.
I personally do not want any command engine sitting on a powered track section. The electronics are active whether the engines is doing anything or not. For longer life, have the track wired with a switch to cut power.