I'm sure you're not alone in feeling this way. A month after my off, I'm commuting by bus and walking, though I miss my cycle commute a lot. At the moment, I can't physically cycle. Medical still to come. Don't know quite how I'm going to feel when I finally do get back on a bike - a bit jittery for a while, I imagine. I'm planning to pootle around the block a good deal before considering resuming my commuting.
I'm not starting a 'cycling isn't dangerous' debate, but speaking from experience, to those who say cycling isn't dangerous - I understand where you're coming from, really I do, and statistically you may be right on the nose. But if you are one of those that have been hit by someone and have had to take time off work, have spent hours filling out forms, seen your lovely bike written off, have had to rely on family members to help you get dressed, been taking tablets for what seems like forever - I think you might have a different perspective. It can really affect your confidence.
To the OP - the thing is to give it time. Over time, you might feel differently, you might not. But you shouldn't feel guilty about doing whatever you feel safest and most comfortable about doing, whether that's cycling or walking.