The driving and charging behavior of an increasing number of electric vehicles (EVs) have strengthened the connection between transportation network (TN) and cyber-physical power system (CPPS). Cyber-attacks imposed on the coupled system will cause a big disturbance to the power network (PN), which will further affect the travel behavior of EVs in the TN. To improve the ability of the coupled system to resist attacks, this paper presents the framework of coupled transportation and cyber-physical power system with a defense mechanism. From a defense perspective, considering comprehensive load shedding loss of load buses, an active defense model driven by static Bayesian game theory is built at the information network (IN) level of CPPS, which provides a defense strategy selection method against attacks at a certain moment. Moreover, a charging guidance model for EVs based on dynamic vehicles travel simulation is developed to describe the impact of charging station (CS) outage induced by the unsuccessful defense, and to mitigate disturbance on the TN. Simulation experiments with a modified Sioux Falls traffic network and IEEE 30-bus power grid coupled system verify the effectiveness of the proposed method and model.