you can be revived if you travel to moonlight island and speak to Starlight in the cave. You can go down the mountain, travel to the end of the forest, and there's a cat in a boat there selling rides to Moonlight island for 10 coins.