This can occur when the fog layer is lifted and cooled sufficiently, or when it is forcibly compressed from above by descending air.
Then the plane lifted up into the sky!