Piper. Marine Corps career After further training at the academy, duty at Quantico, Virginia, and completion of the Marine officers' Basic School at the Philadelphia Navy Yard, Lieutenant Shapley sailed for Hawaii in January 1929 to begin almost three years of duty at the Marine Barracks, Pearl Harbor. He returned to the United States in October 1931, and served in various capacities at San Diego, California, before taking command of the Marine Detachment aboard the USS San Francisco in January 1934. He was promoted to first lieutenant that same month. Detached from the San Francisco in June 1936, he returned to Quantico where he served as aide-de-camp to the commanding general of the Marine barracks. He was promoted to captain in July 1936. In June 1937, Captain Shapley entered the Junior Course of the Marine Corps Schools at Quantico. He completed the course in May 1938, and was ordered to San Francisco, California, as aide-de-camp to the commanding general, Department of the Pacific. After serving in that capacity until July 1939, he served as Operations, Training and Intelligence Officer of the Department of the Pacific until May 1940. A month later he departed for Hawaii where he took command of the Marine detachment on the USS Arizona. He was promoted to major in August 1941. World War II On December 7, 1941, Major Shapley was the senior marine on board the in Pearl Harbor. The previous day, he had been relieved as detachment commander, but had stayed on the ship to play on the ship's baseball team's scheduled game against the Enterprise team. When a torpedo hit the port bow of the Arizona, Shapley was thrown from the foremast at least 100 feet through the air into the water; he was able to swim to Ford Island and to rescue two shipmates along the way. He was one of eight Marine Corps survivors from the Arizona, becoming the ranking Marine Corps officer in the Pacific at the time. For his gallantry on that day, he was awarded the Silver Star. Two days after the attack on Pearl Harbor, he sailed for San Diego to become personnel officer to the Amphibious Corps, Pacific Fleet. He was promoted to lieutenant colonel in August 1942. Lieutenant Colonel Shapley assumed a similar post with I Marine Amphibious Corps in October 1942, and that same month he sailed with the 1st Corps for the Pacific