Exercise activity outdoors

Curious, so if I'm feeling real good and walking a hiking trail, and towards say the last 25% I get hot and fatigued 😩 and say my foot drop feels worse etc. Is it OK to power thru it. I just did that but I dont want to cause any kind of damage. I feel somewhat better just being back in my car with ac.