Heroically has 2 different meanings across 1 category:
Adverb
in a heroic manner
"he become reconciled to not dying heroically in her arms"
In a heroic manner, like a hero.