flail about frantically

Translations
барахтаться неистово
The child flailed about frantically in the pool before the lifeguard reached him.
Ребенок неистово барахтался в бассейне, прежде чем его достал спасатель.