Fetching details from the dictionary...
downheartedly; dejectedly; dispiritedly; despondently
テストに落ちてしょんぼりした。
I felt dejected after failing the test.
彼女はしょんぼりと帰っていった。
She went home looking dejected.
犬がしょんぼりと座っている。
The dog is sitting there dejectedly.