Passengers on the lines were stranded while police officers chased the cats down the tracks 