First off, what year Accord? It doesn't sound like bad gas, it would have effected all RPM ranges, although it would be more prominent in higher RPM's. You would probably notice detonation before the car shutoff.
My best guess is yours - the fuel pump committed suicide.