Elinor Barker says she was left with no choice but to step away from cycling as she continues to recover from a crash while training in the summer.