In a shameful manner.
I looked shamefully at the floor.
Used to express discontent with a situation or occurrence.
The hospital was shamefully underequipped.