Problem Gearbox or Clutch Problem?



I searched the forum and did not find this problem.

This morning the car left me in the middle of the intersection. I couldn't put it in any gear. I press the clutch in vain. When the engine is off, I can select any gear. I mention that I have a manual transmission. I also tried something else. I turned off the engine ... I put in gear 1, I pressed the clutch and then started the engine with the clutch fully pressed. The car moved forward a little but to my surprise the engine started. and I managed to go into 1st gear. The problem is that it doesn't even let me get out of 1st gear at neutral when the engine is on..... I hope I expressed myself correctly and the problem is understood