It’s a bit more complicated than that. From my understanding it’s whole body doesn’t reverse back. Most of their body dissolves and leaves behind a ball of its cells and those cells restart the life cycle. It’s life cycle is basically like a Phoenix (ironically).