Master and Commander is based on a book (really parts of a series of books) that were, in turn inspired by the life of an actual person, Lord Thomas Cochrane. Why don't we all know about him? Mostly politics. A lot of the things he did didn't end up in the books, because they were too unbelievable. If you liked the movie, look him up.