After shakedown in the Caribbean Sea, Hamner reported to the Pacific Fleet on 24 December 1946 and immediately departed for her first deployment with the 7th Fleet. The destroyer spent nine months operating with Destroyer Division 111 out of various Chinese and Japanese ports before returning to the States for six months of training operations. Hamner followed this pattern of cruises until hostilities began in Korea on 24 June 1950.
Korea 1950–1953
Deployed in the Far East at the time, Hamner sailed to the Korean coast and began shore bombardment of Communist positions and supply lines. After participating in the evacuation of Yongdok and the defense of Pohang Dong, Hamner joined Task Force 77 for the amphibious operations against Inchon on 15 September 1950. After operating along the Korean coast to screen aircraft carriers whose planes were pounding Communist troops, Hamner returned to the States in March 1951. She was back on line in October 1951 and continued to patrol waters surrounding the peninsula with various task forces and bombardment groups, effectively damaging and checking the enemy. In March 1952 she spent five weeks on shore bombardment off the east coast of Korea near Kojo causing much damage to the enemy. Returning to the States in May 1952, Hamner resumed her duties along the Korean coast on 2 January 1953, remaining there on the bombline, at the siege ofWonsan Harbor, and on Formosa patrol until the of 27 July 1953.
Pacific Fleet, 1953–1963
Hamner returned to the Western Pacific every year thereafter visiting ports in Korea, Japan, Taiwan, the Philippines, and Australia, and 1959. The destroyer made many good-will visits to Asian ports and engaged in exercises and Formosa patrol. She arrived off Taiwan for six weeks duty with the Taiwan Patrol Force on 31 December 1958, just after another flareup of the Quemoy-Matsu crisis. When not deployed in the Pacific, Hamner trained out of San Diego, California. Entering the San Francisco Ship Yard in January 1962, she underwent a Fleet Rehabilitation and Modernization overhaul designed to add 10 to 20 years to her operating efficiency. Fitted with a new superstructure and the Navy's most modern electronic equipment, Hamner left the shipyard on 5 December 1962 and, after training, sailed for her 13th WestPac cruise on 18 May 1963. During this cruise she was part of the ready amphibious group in South Vietnamcoastal waters in September.
Vietnam, 1964–1966
Hamner returned to San Diego on 24 November. She operated along the West Coast throughout 1964 and sailed again for the Orient on 5 January 1965. Arriving Subic Bay on the 27th, she escorted aircraft carrier to the Gulf of Tonkin. On 15 March she joined aircraft carrier in "Yankee Team" operations. On 10 May she sailed North to cover Seabee landings at Chu Lai. "Operation Market Time" began five days later and on the 20th Hamner shelled Communist positions in South Vietnam in the first scheduled shore bombardment by the U.S. Nayy since the Korean War. Thereafter she screened Coral Sea, bombarded the Trung Phan area on 25 June, and covered the landing of Marines from at Qui Nhon on 1 July. Two weeks later the destroyer sailed home, reaching San Francisco on the 26th. Overhaul at Hunter's Point and operations off the West Coast occupied the next year. Hamner got underway for her 14th WestPac deployment on 2 July 1966. Late in the month she bombarded South Vietnam. Following patrol duty, she steamed up the Lòng Tàu River to shell the Rung Sat Special Zone. Hamner joined TG 77.6 as plane guard for on 1 October and continued this duty until receiving an emergency call from the carrier at 0730 on the 26th "I am on fire." Maneuvering alongside, Hamner sprayed cooling water on the charred and buckled bulkheads until this threat had gone then escorted her to Subic Bay for repairs. Returning to the gunline off Vietnam on 6 November, the destroyer spent two weeks in Operation Traffic Cop, shelling the junks that were bringing arms and supplies to the Viet Cong. Within a fortnight, Hamner had destroyed 67 craft. On 14 November and 19 November shore batteries fired on Hamner, and. Although several rounds sprayed the destroyers with shrapnel, neither ship was damaged. On each occasion the American ships moved outside range of the enemy guns and bombarded the shore batteries. Leaving the gunline on 20 November, a month and a day later, Hamner reached San Diego.
Decommissioning and sale
After spending several years on Swan Island in Portland, Oregon as a vessel used for Naval and Marine reserve training, she was decommissioned in the 1970s and stricken from the Naval Vessel Register on 1 October 1979. She was sold to Taiwan on 17 December 1980, and renamed ROCS Yun Yang. She was reclassified as a guided-missile destroyer. Yun Yang was decommissioned on 16 December 2003. She was sunk by as a target off Ping Tung on 6 September 2005. Note: "Jane's Fighting Ships" and "Register of US Ships of the US Navy 1775-1990" said that Hamner became ROCS Chao Yang reclassified as Guide Missile Destroyer.
Awards
Hamner was awarded five battle stars as well as a Presidential Unit Citation for her outstanding service in Korea. As of 2018, no other ship in the United States Navy has been named Hamner.