“It took some time to load and fire the cannon, as it would have for matchlock guns so they would have been of no use in a surprise attack.” The second cannon was found on the battlefield ...
While it will undoubtedly be satisfying to use both the katana and the matchlock rifle in Ghost of Yotei's combat, there's reason enough to assume there will be plenty of other weapons to choose from.