You did the right thing but with hindsight…
Did he have a wallet on him? Get his name and let him go, then tell the old bill.
Or if it’s a manageable situation, restrain him and call the police.
At least you got your bike back.
Had a similar situation when someone vandalised my car a few years back, we caught him and there was a bit of a scuffle as we tried to restrain him. He came off a bit worse lets say, and when the police arrived I was totally honest and said we’d had to be a bit physical to restrain him and they didn’t care in the slightest.