This paper presents an empirical analysis of plant level responses to the China trade shock based upon a DSGE framework with heterogeneous firms. The empirical analysis shows that soaring imports from China are associated with a higher probability of plant closure. By contrast, firms in export oriented industries are less likely to exit. We rationalize these findings by several counter-factual experiments based upon a DSGE framework. Imports always raise the exit rate but the export-effect is ambiguous. More exports fuel competition among domestic rivals associated with more exits. However, this competition effect disappears when the share of exporters is extremely high. The effects of imports and exports on firm entry are close to zero in both theory and empircs. We also introduce a novel productivity shock channel. Additional export sales better protect firms from other shocks. We show this by introducing negative productivity shocks into the model.