No.
It was Ken Watanabi who was the “last” Samurai.
Cruise played a disallusioned Civil War hero/drunk who’s hired to train the Japanese Emperor’s soldiers in modern warfare.
He goes to Japan, trains the Japanses Imperial Army, and escorts them into battle. The soldiersa are ROUTED by the revolting samurai, and Cruise is taken prisoner and spared.
Ken Watanabi is the samurai clan leader who’s trying to retain the tradition and honor of his samurai during a time of technological evolution (rifles, gatling guns, etc.).
Cruise is spared so the clan leader can converse with him and study.
I’ll leave the rest for you to see, but it’s a pretty good movie.
The film has a very, very loose historical precedent in the 1877 Satsuma Rebellion, in which the last samurai resisting westernization were in fact, brought to heel with gatling guns.