Miserably has 2 different meanings across 1 category:
Adverb
in a miserable manner
"I bit my lip miserably and nodded"
In a miserable manner