Forum:Ressurected sim accidentally!?

I was playing the sims 3 ambitions when one of my sims died; i didn't have any use for her, so i was pretty okay with it. but she didn't go away. when the grim reaper came, her ghost pulled out a flower, the grim reaper took it and then she came back to life! i don't remember doing anything special to her. can anyone tell me what happened?