I got mugged for my bike many years ago now under the elephant (sports centre) in coventry.
he was walking back and forth in the middle of the road so I turned to go the other way, his mate was behind me
didn't manage to get past, claimed to have no cash on me and that my phone was an old nokia not worth looking at (why would you ask to 'look' at someone's phone?)
one of the guys was holding the handlebars, the other got round behind and grabbed the back wheel, started pulling it sideways so I decided to drop the bike and let them take it - as you say, it's just a bike
they didn't touch me despite the one with the bike shouting to 'biff him and hurry up' to which I replied 'you've got what you want, just go'
I ran home, scaled the fence of my halls of residence as I didn't want to even go round the corner (first corner on my route that I couldn't see round before turning) and dialed 999 etc.
Found that bike outside a house round the corner from my new house a few years later.
a year or so later I was riding up into the city centre and a group of youths were sat on some stairs who shouted something as I passed, I turned into a side street and started increasing speed to find someone walking in the middle of the road, no way am I stopping, I aim at him and continue to pedal (it's not a narrow road, my gran could cross it in less than a minute!) and move my hands from covering my brakes to over the ends of my bars (I'm able to reach my brakes and hydraulic disc brakes would have stopped me with that little effort but he doesn't know that)
he looses at chicken, I go on my way.
thankfully it's just taxi's and busses I have to contend with (hit a bus today) these days