Original: The dockyard continued to work on both naval and commercial vessels until its closure in 1992.
Simplified: The dockyard continued to build both naval and commercial vessels until it closed in 1992.