Light Yagami is killed in the manga when Ryuk fulfills the rules of the Death Note. His hubris and misuse of the power of the notebook lead to his downfall.
Light Yagami's death in the manga occurs because Ryuk, the shinigami who gave him the Death Note, decides to end his life. It's a result of Light's descent into madness and his attempts to evade justice.