One time my cat followed me on my walk.
Dogs were barking everywhere and she got scared and paralyzed a few times. I had to keep calling her or walking over to her and picking her up to reassure her.
She was not on a leash, she just followed me, curious as to where I was going off to. She only did it twice, different occasions, and was done with it.