You got unlucky
Get back in the saddle, a little bit wiser. Shadows are tough. Maybe go slower until you regain confidence. I go fairly slow and stay off paved roads once fall comes and the light is constantly changing with the shadows. You got unlucky, but thats part of life. Only you can tell if you feel safe enough to try again.