also ship-shape, "properly arranged," 1640s, originally "according to the fashion of a (sailing) ship," where neatness is a priority and the rigging must be serviceable and stowed properly; from ship (n.) + shape (n.).
Old English scip "ship, boat," from Proto-Germanic *skipa- (source also of Old Norse, Old Saxon, Old Frisian, Gothic skip, Danish skib, Swedish skepp, Middle Dutch scip, Dutch schip, Old High German skif, German Schiff), "Germanic noun of obscure origin" [Watkins]. Others suggest perhaps originally "tree cut out or hollowed out," and derive it from PIE root *skei- "to cut, split" (see schizo-).
Now a vessel of considerable size, adapted to navigation; the Old English word was used for small craft as well, and definitions changed over time; in 19c., distinct from a boat in having a bowsprit and three masts, each with a lower, top, and topgallant mast. French esquif, Italian schifo are Germanic loan-words.
Phrase ships that pass in the night is from Longfellow's poem "Elizabeth" in "Tales of a Wayside Inn" (1863). Figurative use of nautical runs a tight ship (i.e., one that does not leak) is attested from 1965.
Old English sceap, gesceap "form; created being, creature; creation; condition; sex, genitalia," from root of shape (v.)). Meaning "contours of the body" is attested from late 14c. Meaning "condition, state" is first recorded 1865, American English. In Middle English, the word in plural also had a sense of "a woman's private parts." Shape-shifter attested from 1820. Out of shape "not in proper shape" is from 1690s. Shapesmith "one who undertakes to improve the form of the body" was used in 1715.
<a href="https://www.etymonline.com/word/shipshape">Etymology of shipshape by etymonline</a>
Harper, D. (n.d.). Etymology of shipshape. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/shipshape