Terminally has 2 different meanings across 1 category:
Adverb
at the end
"terminally ill"
In a terminal manner.