In the climax to a chaotic and controversially handled race, Gasly had lined up fifth for the second red-flag restart but locked up into Turn 1 to avoid clipping Fernando Alonso's Aston Martin.
That forced him over the gravel run-off and as he rejoined alongside Ocon, who restarted in 10th, drifted over the track to the exit wall to initiate the contact that wiped out both cars.