Markets enjoyed a sharp rebound in the June quarter