Have you checked the air in the tires lately? 
I was cruising down the 405 at about 80 mph a few years ago on the Seca. The engine just quit. I coasted over to the right, and surmised the problem. Yamahas, and I assume most or all other bikes, have a switch on the kickstand. If the kickstand is down, the engine is shut off. This is to prevent people from riding off with the kickstand down. One of the wires on the switch broke. Unfortunately I had stopped carrying a pocket knife just days before, because I never found a use for it. For some reason I have an army-surplus P-38 tin opener on my keychain. Why not? It doesn’t take up any space. Although it opens tins well, it’s about a sharp as a dull rock. Still, I was able to strip away some of the insulation on the broken ground wire and was up and running again about five minutes after the engine shut down.
But your problem didn’t shut down the starter. I’m not sure what you mean by “the tach hit about 3000”. I thought the tach wouldn’t register unless the engine is cranking.
First: If the starter is not turning, then there is a fault in the starter circuit. But your starter did whirr, at least at first. So if the starter is turning, then was the crank turning? If not, then the starter is not connecting to the starting gear. Cars have a solenoid, but I don’t know about bikes. I assume they do. So if the starter runs but the crank isn’t turning, then I’d suspect a bad solenoid.
What if your engine is cranking, but it’s not starting? Engines need three things to run: Fuel, air, and a source of ignition.
Fuel. If you have fuel, is it getting to the engine? I was riding the Seca once when it acted as if it was out of fuel. When I opened the tank to check the fuel that I knew was in there, there was a sucking sound and the metal tank actually visibly expanded. There is a rubber grommet on the vent hole on my bike. I was using one of those booted nozzels to refuel and it squashed the grommet, closing it. The fuel was being sucked out of the tank, but not being replaced by air. I un-tweaked the grommet and all was well.
Does the PC have a fuel pump; or is it gravity fed? If it has a pump, a failed pump would make it act as if it was out of fuel. A clogged fuel line will do the same thing.
Air. The engine needs air to mix with the fuel. If your air filter is very dirty, it will choke the engine. You will probably experience degraded performance long before it just quits though.
Ignition. Let’s see… You have an ignition switch that allows the engine to run. Then there is a connection from the battery to the coil, and others from the coil to the spark plugs. If there is a fault in any of those, then the engine will not run. If it’s between the coil and the plugs (i.e., the plug wires are bad), then it’s unlikely that all four will fail at once. If it’s between the battery and the coil, then that would shut it down.
I’m guessing that there is a broken wire (open circuit) between your ignition switch and the starter and/or ignition circuit. Or you might have a loose wire in your kickstand kill switch or (less likely) your handlebar kill switch. Or your ignition switch could be bad. A broken wire or bad ignition switch would cause the starter to intermittently not run. I don’t know how the wiring is, but I guess it’s possible that the starter might turn, but the juice to the engine is shut off. I’d start there.
BTW: I’m not a mechanic, and I really don’t know the first thing about engines. So I might have been feeding you a load of cal.