That's the first time it's ever happened. I've gotten false neutrals between other gears, but that's the first time it's ever popped out. Hopefully it was just a fluke. I'll probably change the oil and see if that improves the shifting situation. Certainly can't hurt.
Here's a hint, an a clue (no, I don't want to start an oil thread...) :
if the gears don't shift well when the engine is hot, there is not enough zinc in the oil. These engines were made when we had almost 400% more zinc in our oils, now outlawed because it harms catalytic convertors in cars. Our bikes don't have them...so, you need oil that contains more zinc. This is almost universal, unless you are buying oil in off-road equipment shops.
The better oils today for our bikes are the Golden Spectro synthetics, the Bel-Ray EXL Mineral type, and (yes, it's true) AMSOIL in the 20w50 non-Harley 'motorcycle' oil they offer. All of these should be in 20w50 weight for the CB750, unless you ride in cold weather (then 20w40 is OK). Don't use 10w40 oil in this engine, as it will cause rapid wear and stiff shifting, every time.
You can also get ZDDP additive (zinc) in little bottles of 2 to 4 ounces. If you have ordinary oil in it (like Valvoline or Shell Rotella), and it is at least 20w40 weight, you can add this stuff to "save" this oil change. I use about 1/3 bottle with the BelRay EXL Mineral, and it makes it shift like the old Castrol XLR 20w50 oil, which was made specifically for this engine, by Castrol, beginning in 1969. Alas, it disappeared in 2002, though...