Tides erase five-run deficit, end slide at three by rallying