The atria are still relaxed, but after ventricular ejection, the ventricles relax too and backwash blood closes the semilunar valves and the AV valves re-open and we are back at the beginning. This happens when there is depolarization of the ventricles.