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