From what I know, Apostasy is something not accepted in Islam.
When the prophet Mohammad died, many people turn back to praying status or fire, but his successors fought them back.
I think they did that to demonstrate that Islam does not end with the life of Mohammad since it is Allah, who is...