What is the meaning of the word "quixotically"?

Definitions:

  1. in a quixotic manner copy to clipboard adverb
    • Sent to jail for two years, they have quixotically refused to clear themselves by betraying their colleagues. copy to clipboard