Uprightly has 3 different meanings across 1 category:
Adverb
in an honorable manner
"he acted honorably"
in an upright position
In an upright manner.