In an abject fashion; with great shame; desperately.
The word comes from Middle English abjectli, meaning "with great humility." It is formed by adding the suffix -li to the adjective abject, which originally described someone who was outcast, wretched, or of lowly status.