Defending champions Stephane Peterhansel and Cyril Despres retained their leads in the car and bike categories after Stage 12 of the Dakar Rally.