ichidan verb
be dying; be about to die; be close to death
Describes a state of being near death, often used for people, animals, or metaphorically for things that are almost finished or in critical condition.
その鳥は死にかけていた。
The bird was dying.
彼は交通事故で死にかけた。
He almost died in a traffic accident.