The planetary crust contains life 30 kms down. Even if the surface was sterilized and the oceans boild away, life would return from the life in the crust. It would take a long time to "rediscover" the innovations like chlorophyll, but in the end, life would recover completely.