Etymology
Today it means: In an upset manner. Full definition →
From upset + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.