Thrash would be unable to hit since it has been deleted for Flare Blitz. Once Thrash has been deleted (either) your opponent will play his/her move or you will get to select a move that you want to play depending on how you are playing.
So overall, Thrash would stop hitting, you will NOT be confused, and the battle will carry on like usual.
Source: Personal experience.