Vicksburg left Newport, Rhode Island on 16 January 1898, sailing for Saint Thomas in the Caribbean.[4] On 26 April, at the start of the Spanish–American War, she sailed south to join in the blockade of Cuba.[5] For the next three months, Vicksburg patrolled the Cuban coast near Havana, returning to Key West, Florida periodically for fuel and provisions. During her tour of duty in Cuban waters, she captured three blockade runners. In May, she took Oriente,[6]Fernandito,[7] and Bernardico[8] on the 5th, 7th, and 9th, respectively. The Oriente and Fernandito were small unarmed sailing ships bound from the Gulf of Campeche to Havana with cargoes of fish. Vicksburg took each to Key West where they were condemned by a prize court.[9][10] Her fourth and final capture came more than a month later on 24 June when she encountered Ampala, a 150 long tons (150 t) sailing vessel, bound from Havana to Trujillo.[11] Though Ampala carried no cargo save provisions for her passengers, Vicksburg took her to Key West where she, too, was duly condemned.[12][13] On 7 May, Vicksburg came under the fire of the Santa Clara Battery shore battery near Havana,[1] and again on 14 August.[14] By then, hostilities in Cuba were ending, and the need for blockading ships diminished.[15][16]Vicksburg departed Cuban waters on the 14th and, after a three-day stop at Key West,[17] continued north to Newport where she arrived on 23 August.[14][18] During the remaining months of 1898 and the first five months of 1899, she operated along the east coast and in the Caribbean.[19][20][21][22] On 24 May 1899, Vicksburg was placed out of commission at Boston.[2][23][24]
Asiatic Station, 1900–1904
Almost a year later, on 15 May 1900, the gunboat was recommissioned at Newport, R.I.[25] After six months of operations in the Atlantic, Vicksburg stood out of Boston on 9 November for duty on the Asiatic Station.[26] She sailed via the Mediterranean Sea and the Suez Canal and arrived at Cavite—on the island of Luzon in the Philippines—on 2 February 1901.[27] During the first of her three years in the Far East, Vicksburg joined other Navy units in supporting the Army's campaign in the Philippine–American War which followed Spain's ceding the islands to the U.S.[28]Vicksburg herself contributed significantly to the success of those operations when she assisted Army forces in capturing the Philippine president, Emilio Aguinaldo, at Palanan, Isabela in March 1901.[28][29] She also cooperated with the Army again in June during the occupation of Puerto Princesa and Cuyo, the two major cities on the island.[27]
In 1902, the warship moved north and, for the remaining two years of her tour, cruised the waters off the coasts of China, Japan, and Korea.[30] She spent the entire first quarter of 1904 at Chemulpo, Korea, protecting American interests during the initial stages of the Russo-Japanese War.[30] On 9 June 1904, Vicksburg took leave of Asia when she stood out of Yokohama, Japan, and shaped a course for home.[30] She reached Bremerton, Washington, on 29 June but later moved south to the Mare Island Navy Yard near San Francisco, California.[30] There, she was placed out of commission, in reserve, on 15 July 1904.[30][31]
Central America, 1909–1912
After almost five years of inactivity, Vicksburg was placed back in commission at Mare Island on 17 May 1909.[32] The gunboat departed San Francisco on 16 June and headed south to the coast of Mexico and the Isthmus of Panama.[33][34] During the next four years, she cruised the western coast of Central America in an effort to support American diplomatic moves to maintain peace in the revolution-prone nations in the area.[35][36][37][38] For that purpose, she made calls at ports in Mexico,[39]Honduras,[40]El Salvador,[41]Guatemala,[41] and Panama.[42] Conditions in Nicaragua were especially volatile during those years, and Vicksburg returned to Corinto and other Nicaraguan ports time and time again.[43][44]
During the early summer of 1912, she began operating primarily along the California coast.[45] In late August, she cruised south for an extended courtesy visit to Guaymas, Mexico.[46] While there, Vicksburg was sent to assist the steam freighter Pleiades, which had reported running aground on the coast of lower California on August 16.[47]Vicksburg sustained a hull puncture from a broken propeller while en route to provide aid,[48][49] and the cruiserCleveland was sent to escort Vicksburg back to the Mare Island Naval Shipyard.[50] The damage was found to not be as severe as initially thought, and Vicksburg was instead led back to Guaymas,[49] where she briefly remained for repairs before returning to duty on 2 September.[51] The gunboat later returned to the U.S. at San Diego on 3 November.[45]
Training ship, 1912–1917
Following repairs at the Mare Island and the Puget Sound Navy Yards, she began duty with the Washington Naval Militia on 18 June.[52] That service occupied her almost completely until the U.S. entered World War I in the spring of 1917.[45][53][54][55] The only exception came in May–June 1914, when she was placed back in full commission for a brief cruise to Mexico.[53] Upon her return to Puget Sound, she reverted to reserve status and resumed training duty with the Washington Naval Militia.[53]
World War I, 1917–1921
On 6 April 1917, the U.S. associated herself with the Allied Powers in World War I by declaring war on the German Empire.[56][57] A week later, on 13 April, Vicksburg was placed back in full commission at Puget Sound.[55] The gunboat patrolled the western coasts of the United States and Mexico through the end of the war.[58] That German influence was particularly strong in Mexico during the war is evidenced by the fact that Germany started reasonably serious negotiations to persuade Mexico to enter the war on the side of the Central Powers.[59] The infamous Zimmermann Telegram—which offered Mexico the opportunity to recoup her losses in the American Southwest—contributed greatly to the United States' decision to go to war against Germany.[60][61] Thus, the Navy had to flex its muscles convincingly to dissuade Mexico from assisting the Central Powers. Vicksburg and the other ships which patrolled the Mexican coasts helped provide the influence necessary to keep that nation out of the enemy camp.[62][63]
As a result of her mildly pro-German attitude, Mexico became a center for German activity in the western hemisphere, particularly after the U.S. entered the war. Incidents involving German nationals occurred frequently. One such incident provided Vicksburg with the single concrete reward for her vigilance. On 17 March 1918, she anchored off the harbor at Viejo Bay, Mexico, in response to information that a ship carrying German nationals would attempt to leave the port. At 12:25, she sighted the schoonerAlexander Agassiz standing out to sea under the American flag and immediately got underway to intercept her. The schooner tried to make a dash for it, but a shot across her bow forced the Alexander Agassiz to heave to and submit to a search.
Vicksburg's boarding party made some interesting discoveries. The schooner carried 14 people, of whom five were German and six were Mexican. Two others were women, one of whom was purportedly the vessel's owner. The remaining passenger was an American, probably the informant upon whose advice the capture was made since he is listed in Vicksburg's war diary as "...one American spy..." The motorized sailing vessel also carried some small arms and a quantity of ammunition as well as a "German flag". The people were taken on board Vicksburg, and the five Germans were put in irons.
Vicksburg justified the capture on the fact that the schooner carried enemy nationals and that she possessed no proper ship's papers. In a three-hour discussion held that afternoon with the Captain of the Port, the British Vice Consul, and commanding officers of other American ships in the area, Vicksburg's commanding officer supported his action further with the fact that the passengers were seen to throw articles overboard just before the boarding party arrived and with the suggestion that the Alexander Agassiz had been fitted out as a raider. That shaky proposition was later repudiated by an American prize court which ordered that restitution be made to the owner of the schooner. It now seems likely that the five Germans were simply making a desperate attempt to return home.
Later that month, Vicksburg delivered her prize to San Diego and the prisoners to Los Angeles. She then resumed her patrols off California and remained so occupied through the remaining months of the war. The gunboat continued her active service for almost a year after hostilities stopped in November 1918. On 16 October 1919, she was finally decommissioned for the last time at Puget Sound; and, four days later, she was transferred to the Washington State Nautical School. Vicksburg served as a training ship with the school until 1921. During this period, she received the designation PG-11 on 17 July 1920, when the Navy adopted the alphanumeric system of hull designations.
Coast Guard, 1921–1944
On 2 May 1921, Vicksburg was transferred once more—this time to the Coast Guard—and her name was struck from the Navy List. She was renamed Alexander Hamilton on 18 August 1922 and served as a training ship at the Coast Guard Academy until 1930. The Coast Guard decommissioned her on 7 June 1930, stripped her, and towed her to the depot at Curtis Bay, Maryland, where she was permanently assigned as station ship. Sometime between 1 July 1935 and 1 July 1936, she was renamed Beta and, by 1 July 1940, she had been reassigned to New London, Connecticut, as a station ship.
In 1942, she was towed back to Curtis Bay where she served as a training platform for machinist's mates and water tenders. That duty lasted until 30 December 1944, when she was finally placed out of service completely. On 28 March 1946, the hulk was turned over to the War Shipping Administration for final disposition. Presumably, she was scrapped.
Vicksburg was one of a very few American ships to see active service in the Spanish-American War, World War I, and World War II.