Kevin Magnussen recently took part in his first-ever endurance race just weeks after retiring from Formula One.