The Spanish -- American War officially ended in August 1898 .
Cook enlisted in the Navy in April 1901 .
The Spanish -- American War officially ended in August 1898 and Cook enlisted in the Navy in April 1901 .