This is a little tricky, but let's assume you do stay in and Trick Room and Gyarados uses DD (which is unlikely, as we've already established). Then, you Taunt Gyarados, preventing a Taunt of its own and keeping it from continuing to DD. If Gyarados isn't packing Waterfall, just Night Shade to...