the gear linkage rubbers might be on the way out - so when the engine moves the arms can push the stick linkages about. If it pushes it far enough it might cause it to pop out.
If it still goes into gear fine on upshifts and down shifts chances are the synchro is ok
__________________
------------------------------
------------------------------
__________________
------------------------------
------------------------------
|