The 1592–93 bubonic plague outbreak closed London theatres for nearly two years, killing ~10,000. Shakespeare paused playwriting and composed sonnets and narrative poems (Venus and Adonis, The Rape of Lucrece) during this hiatus.
The plague didn't stop Shakespeare—it redirected him. The narrative poems established him as a "serious" poet; the plays made him immortal. Sometimes the interruption is the making.