Maybe have your god go through a metamorphosis, a transcendence of a sort, where he goes in hibernation or becomes dormant. Then have a rival god kill him while he is vulnerable...
My name is Evan ,I’m from Greece and I started writing a fantasy story called “The Lightbringer”.
Looking forward to growing along side you all, I’m also willing to help anyway I can…