Ok, look. Maybe...you're kinda hallucinating. But not it a bad sense. You said It was late, so it was probably your eyes playing tricks on you, because in the dark, we see things, because that's how our brain works. It makes you see or revognise something, Idk how to explain it. Basically, you see stuff because you can't see well and your brain makes out *things* from those dark shadows/figures that are around you (trees, lamp posts etc). Yk? Because the brain is set up to revognise things, like when you see a face in an outlet or in other things yk? Its kinda a survival tactic. Anyway, yeah, it's common to see stuff in the dark because ur brain makes u see them. Like that saying "What is seen in the shadows is easily misunderstood in the mind of a child." Plus if you didn't sleep and it was late, that's another reason to hallucinate (speaking from experience).
Or, you have ghosts in the town