The question is very vague, so let me clear up some of the confusion and haze.
In the entirety of AoT, it is known that, to inherit the powers of a Titan Shifter, the chosen one must eat the current holder, absorbing their spinal fluid as they do so, as is the curse of Ymir. But what happens to the Titan abilities should the current Titan Shifter be killed in different circumstances, besides being eaten by the Inheritor of said power?
What if the Titan Shifter is killed in combat by being blindsided on the battlefield, for instance? Or dies under mysterious circumstances? Is the power still retained by the holder's corpse, or does the power "drain" away when they die?