He was in the Navy for six years and returned to New York, marrying and having a child.
The passage describes a man who served in the Navy for six years, then returned to New York, got married, and had a child.