Cantankerously has 2 different meanings across 1 category:
Adverb
in a bad mood
"he answered her cantankerously"
In a cantankerous manner.