When you leave a game during a tournament, your wins no longer count toward your rank or prize. If you re-enter the game you can still participate, but you'll begin from zero.

Make sure you're playing on a stable, fast Wi-Fi connection and have the latest version of the game to prevent disconnects and errors.