The Yamato’s guns had a range of 26 miles.
An F18 has a combat radius of 450 miles.
They are both large ships, but that is about the only thing they have in common.
A CVN is surrounded by Aegis equipped destroyers and has constant satellite down link information. Plus one or two SSNs to the screen for hostile attack subs.