What was she supposed to do otherwise? Die heroically but stupidly?
Now she can spread (and judging buy the teaser screens she does it very well) her knowledge of the Force and keep the Order alive. Kruhk did the same, for 'Dark Times' readers, although he DID save younglings.
But saying she's a 'real hero' would mean Obi-Wan and Yoda were real heroes too! They fled the Temple as well, and Yoda even ran away from Palpatine. Although they weren't there wen the real order 66 occured, they certainly didn't try to secure the temple, bury the dead or anything 'hero-like.'