The call from the train operator came in just before 11 a.m. on Monday to the New York City subway’s command center, an alert unusual even for a system accustomed to morning commutes with delays: There was a breaking situation unfolding on the tracks.

Two goats were on the lam.