The only thing that can undo the effects of Trick Room is to use another Trick Room.
For example, the enemy Cresselia uses Trick Room and speed is reversed. The next turn, my Claydol uses Trick Room and speed is returned to normal.
I hope this helps!
Source: Experience