OUCH! My sons did a lot of bone headed moves (almost burned up my boat one 4th of July), but nothing quite as dumb as that.
Hope he can sit down soon.
I don't think that incident requires corporal punishment. But, that's me. At his age, there's more effective ways to get his attention than doing it physically.