The influence of ground effect on the wake of a high-speed train (HST) is investigated by an improved delayed detached-eddy simulation. Aerodynamic forces, the time-averaged and instantaneous flow structure of the wake are explored for both the stationary ground and the moving ground. It shows that the lift force of the trailing car is overestimated, and the fluctuation of the lift and side force is much greater under the stationary ground, especially for the side force. The coexistence of multiscale vortex structures can be observed in the wake along with vortex stretching and pairing. Furthermore, the out-of-phase vortex shedding and oscillation of the longitudinal vortex pair in the wake are identified for both ground configurations. However, the dominant Strouhal number of the vortex shedding for the stationary and moving ground is 0.196 and 0.111, respectively, due to the different vorticity accumulation beneath the train. A conceptual model is proposed to interpret the mechanism of the interaction between the longitudinal vortex pair and the ground. Under the stationary ground, the vortex pair embedded in a turbulent boundary layer causes more rapid diffusion of the vorticity, leading to more intensive oscillation of the longitudinal vortex pair.