Shortly after the start of the Spanish–American War, Minett was given command of the newly commissioned . "Viking" began her life as a private yacht, but was armed and pressed into service for the war. In his first months in command, Minett and "Viking" patrolled the waters near Sandy Hook, New Jersey to prevent Spanish attacks on New York. On July 12, 1898, Minett and "Viking" were transferred to Cuba to assist in the naval blockade. Minett's duties in Cuba included transporting passengers, orders, and supplies between the blockading ships. On August 16, 1898, four days after the conclusion of hostilities, Minett was ordered to take "Viking" to Norfolk, Virginia where she was decommissioned. Minett saw no combat during the war.