A Japanese submarine shelled California during World War II, and the commander directed his gun to fire at a spot where he had an embarrassing fall before the war.