If one is bedridden, if we get to know the final moments, one can chant Vishnu Sahasranama, Divya Prabandham, and Vedas, if one has learned them.
After one has attained Paramapadam, if his or her last time is known, pasurams can be recited during the Sri Choorna Paripalana ritual.