Complex sentence: She still had mechanical problems, especially with her main armament, and had sailed with shipyard workers still aboard working on her.
Split into simpler sentences: She still had mechanical problems, especially with her main armament. The ship had sailed with shipyard workers still aboard working on her.