Etymology
Today it means: In a dejected manner, in a dispirited way. Full definition →
From dejected + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.