Adverb
In a quixotic way.
sent to jail for two years, he has quixotically refused to clear himself by betraying his colleagues Source: Internet