Subways get delayed for all kinds of reasons these days — electrical problems, sick passengers, debris on the tracks.

On Friday, it was a runaway dog.

Her name was Dakota, and she shut down F service between Brooklyn and Manhattan for more than an hour before a subway worker found her two stations away from where she entered.

Dakota, a poodle, was at the dog park in Brooklyn near the Manhattan Bridge at 2:55 p.m., the police said, when something spooked her. She ran.