Unlikely, since he died on November 27, 1978, and Wikipedia says In the Navy was released January 17th, 1979.
So I guess he never did anything at all for the Navy.