We ruled on this in thread Sheriff Eli Waters - Moving from a posse
Unfortunately it appears we had not added yet to the rulebook this line:
If a dude in a posse moves away from the location of a shootout, or moves home, that dude automatically leaves their posse.
As Eli would move, the Buffalo Rifle would not affect leaving the shootout.