Cool. I ask because, I've had a lot of experiences with cows and some bulls. Hundreds, thousands maybe. They can indeed be curious. They are certainly unpredictable. They never go where you want them to go. I can maybe only recall one "aggressive" incident in my life. Cows that are too curious can usually be charged and that'll scare them and they'll run. Sometimes they'll just keep following you because they think you're going to feed them. Just depends. I've tried to touch or pet multiple and I can never get close enough. It's a bucket list item of mine to slap a bull in the nose but I've been too chicken sh*t to try it so far.
I think, more than likely, firing the rifle was unnecessary, but of course it's tough to tell. Cows can ruin a hunt, that's for sure. Glad you didn't end up a statistic!