We're happy to see she's on the mend!

Jamie Lynn Spears' daughter Maddie returned to school to hand out candy for Valentine's Day on Tuesday, and she's made a pretty miraculous recovery from the ATV accident that landed her in the hospital last week.

"Maddie isn't quite ready to return to school, but her doctors did clear her to bring in her Valentine's Day treats to her class today. It made her so happy to see her friends, and be able to give them such cute treats. It was a great moment for us after everything that has happened. We are so thankful to celebrate Valentine's Day with the ones we love, and we don't take a second of it for granted ❤️Happy Valentine's Day❤️," Britney's little sis captioned the Instagram photo.

In case you didn't know, the 8-year-old was submerged under water for more than two minutes when her vehicle flipped into a pond, and she had to be airlifted to the hospital.

She's truly lucky!