The best answer is the disengagement theory!
The desengangement theory (Cumming, Henry, 1961) specifically focuses on the last years of life and sees them as something natural in human life.
The other theories, such as the activity and the continuity theories stress that the older people should remain active and not completely retire.