Ueshiba trained in a variety of ryu including Yagyu swordsmanship, but is not known to have trained in Shintō Musō-ryū.
Morihei Ueshiba's martial arts education encompassed a range of disciplines, including Yagyu sword fighting, although he does not seem to have been affiliated with the Shintō Musō-ryū school.