Original: The gearbox became operational again after Hamilton switched settings on his steering wheel, but he lost 40 seconds while his car was coasting.
Simplified: The gearbox started working again. He had lost 40 seconds while his car was coasting.