Even more awesome info. I've really got to catch up on my TOS novels.
You can read about it in the Apocrypha
section of his Memory Alpha
page. It looks like I had a few of the details wrong, but the basic story still stands. He was humiliated by what Kirk and Scott had done.
I don't need to read Memory-Alpha to know that!