Strange name for a captain

Screencap of a book in iBooks with 'Captain Toilet' highlighted

Somehow I don't think this was the actual name of the Captain, but it's been so long since I read this book I can't recall what his name may have been, though I can be sure it wasn't Toilet... Sure to a fair degree. Apart from the amusing meaning of the word in today's vocabulary, I don't suppose people on that time would have been too concerned, given they hadn't even invented them. What were they? Latrines!