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 last summer.