Not sure how its codified, by Local Ordinance, or by State, but loitering near a bike trail is not allowed, at least in some places. Anyone without a bike, or even with a bike and staying put for long periods, is subject to citation or hopefully its Probable Cause for a field interview by LE.
I see sketchy behavior all the time on local bike paths like SGRT and CCRT where people are posting themselves along the trail, sometimes playing with their phones. Someone teaming up to commit assaults will need lookouts who can relay info to confederates further down the trail.
When I'm lucky enough to see trouble far down the trail I will leave the trail and seek an alternate route. I've been doing this quite a bit in the last few years.