Former Shrewsbury Town striker Josh Kayode revealed he considered retiring from football during a two-and-a-half-year period ravaged by injury.