It's a little more complicated than that, but I'll give the TL;DR version. A 17th Century pirate by the name of William Dampier had the, then, unusual habit of eating whatever the natives ate in places he visited. While in Panama he tried guacamole and wrote the first recipe for in it English. While he was in prison, he wrote an account of his adventures, which became a huge success. Also in his book was a description of breadfruit. That seemed like a cheap and easy way for British sugar plantation owners to feed their slaves, so they hastily converted a ship and sent it off to bring back a thousand saplings for them to grow. That ship was the HMS Bounty, and the trip didn't go all that well for the captain. Dampier apparently has a number of culinary firsts to his name: He wrote the first mango chutney recipe in English, first used the words barbecue, soy sauce, chopsticks, and others. Naturally, he died penniless and forgotten.
The article skips over it, but the Bounty mutiny wasn't solely due to the breadfruit storage. The ship's crew had enjoyed a long shoreleave and the company of dusky maidens in a tropical paradise, so Bligh's command to stop lounging about and get back on the ship and do some goddamn work wouldn't have gone down well even if the ship was spacious. Well, that and Bligh was seemingly an asshole, since he later pissed off the folk he was appointed governor of.