Sonic the Hedgehog is a fictional character; he cannot be killed in reality. In games/comics, he faces mortal threats but always survives:
His resilience and narrative armor ensure he prevails. Death is never permanent in his canon.