Sounds like the return spring at the bottom of the shifter has come off / broken. Nothing to do with the gearbox internally.
If the gearbox was on it's way out, it would be difficult to shift, make lots of noise (either bearing whine, crunching change gears etc).