This wasn't a rage quit.
"Despite the attacks, the AI lost because it ignored a diplomatic victory condition that was already within reach."