Quake is like a 18second cast time did you run out of range and then come back before the spell finished casting? If that's the case, the spell will still resolve.