Real-life cowboy comes to the rescue