Terminal lucidity
Terminal lucidity, also known as paradoxical lucidity, rallying or the rally, is an unexpected return of mental clarity and memory, or suddenly regained consciousness that occurs in the time shortly before death in patients with severe psychiatric or neurological disorders. This condition has been reported by physicians since the 19th century.