I was at a high school football game earlier this year when the local team (Shawnee Mission West) did the same damn thing. They were actually at about their own 30 with 5 seconds left in the first half, and the score was tied.
When they sent the punt team out, I thought "WTF, a punt can be returned for a touchdown! What a stupid call!".
The punt was returned for a touchdown. That was the stupidest call in a football game I've ever seen.