quixotically

(adverb)

adverb

1. in a quixotic manner

- sent to jail for two years, he has quixotically refused to clear himself by betraying his colleagues