Inappropriately has 2 different meanings across 1 category:
Adverb
in an inappropriate manner
"he was inappropriately dressed"