Unwillingly has 2 different meanings across 1 category:
Adverb
in an unwilling manner
"he had sinned against her unwillingly"
In an unwilling or uncooperative manner.