The past tense of beat a hasty retreat is also beat a hasty retreat.
The third-person singular simple present indicative form of beat a hasty retreat is beats a hasty retreat.
The present participle of beat a hasty retreat is beating a hasty retreat.
The past participle of beat a hasty retreat is beaten a hasty retreat.