You were probably lucky you actually heard the jarring noise, which gave you time to stop it before some damage was done.
It should be fine, how many times do people crunch the gears in their car if they drive a manual

and all still works with no damage.
Leon