" In the closing months of World War II, heavy losses and depleted fuel stocks kept many of Japan’s remaining combat aircraft grounded and warships in port, awaiting an anticipated amphibious invasion. Starting in July 1945, Allied battleships embarked on a series of naval bombardments of coastal cities in Japan in an effort to draw these forces out to battle—with little success.

However, a week before the battleships began lobbing their massive shells, a legendary U.S. submarine toting a rocket launcher began its own campaign of coastal terror that foretold the future of naval warfare—and also engaged in the only Allied ground combat operation on Japanese home island soil.

Submarines still made use of deck guns during World War II, most of them ranging between three and five inches in caliber. These were used to finish off unarmed merchant ships or sink smaller vessels that could evade torpedoes—but also were occasionally directed to bombard coastal targets, such as in early-war Japanese raids on the coasts of California and Australia.

The problem was that a single gun was unlikely to inflict much damage in a short amount of time, and the submarines were highly vulnerable to air, sea and land attack as long as they remained surfaced. "

http://nationalinterest.org/blog/the-buzz/how-one-very-special-us-submarine-ravaged-japan-during-world-19746