I really feel for you.
I had a very serious motorbike smash.....not my fault in any way...hit from behind whilst stopped at a zebra crossing! That was 25 years ago......to be honest, i never really got fully over it.
As zetecmk2 said above, you start to think not necessarily about the accident, or that it might happen again ( it probably wont) but also about the consequences of an accident in all walks of your life.
After i got out of hospital and spent another 6 months getting my walking back to something like normal, I realised that was more important than anything else. I stopped riding sports bikes, but modifed my behaviour and took up marathon running and riding weird custom stuff i build (slower and far less miles per year!).
Life is all about risks, but all risks need to be balanced.....risk vs gain.....
Then again, i shattered my thumb on a mtb......never even thought twice about getting back on......small risk vs big gain.....
Do go back to cycling as soon as you can, as you might find your absolutely ok.
Asking for advice is tricky, as really its up to your own personal risk / gain balance to answer if anything in life is worth it.
However, im sure we are all more than happy to offer support.
Best of luck.