When transpiration stops and there is no tension in the xylem, its water potential can be lower than the soil solution's so water is taken in and forced up the plant.
The xylem is different from the phloem because the flow in the xylem:
involves water
is up the plant
is unidirectional