Very theoretically, if we could tell the charger circuits to recalibrate it might be possible to go from charger battery out to off charge battery in, via a momentary battery in charger on, but as things stand it'll all get very confused and either cook your battery or forget to draw enough power off the battery and shut down as things stand.