Retired Navy Capt. Charles Wayne, 67, whose last assignment had been in the office of secretary of defense here, died Jan. 14 at his home in Greenacres City, Fla. after a heart attack.

After retiring from the Navy in 1962, Capt. Wayne taught mathematics at Washington Irving Intermediate School in Springfield, a part of the Fairfax County public school system, until 1976. He retired then for a second time and moved to Greenacres City.

Capt. Wayne was born in Binghamton, N.J. He grew up in Seattle. He was a graduate of the University of Washington and worked briefly for the Boeing Co. there before entering the Navy in 1939.

He trained as an aviator at Pensacola, Fla. and during World War II saw duty mostly in the Pacific. In September 1944 an engine was shot off his plane while he was on a bombing mission against the Japanese out of Attu in the Aleutian Islands.

Capt. Wayne was able to make their way to Soviet territory before crash landing. He was interned by the Russians for five months before his release by way of Iran.

His post-war duties included a stint in Washington in 1950-52 when he was with the Bureau of Aeronautics. He was commander of an aircraft squadron for two years in Norfolk, before he was assigned to 1959 to the International Security Affairs group in the office of the defense secretary here.

His wife, the former Dorothy Rodenhausen, died here in 1972.

He is survived by a son, Charles L., of Chevy Chase; a daughter, Pamela Murphy of LaGrange, Calif., and a brother, retired Navy Capt. John B., of Bellevue, Wash.