Cisco Wifi Equipment has long had the ability to detect, and even "block", what they define as "Rogue" Wireless Networks. In fact, one of their clients landed in legal trouble for using such[1], and they have since dialed back said features to make it less misusable.
I'm surprised that on Navy Ships, they're not using something of the sort, if only of the "Stalker Prevention" variety; Their EWAR systems should be scanning for APs that show up for more than a few consecutive days when not in port.
[1] https://docs.fcc.gov/public/attachments/FCC-15-146A1_Rcd.pdf