Error: B sliding down.
Remove the gear knob and take the black plastic piece out of B, glue it in place again, and put on B.
The drawing is borrowed from the Citroën C6' service manual
Error: The gear lever is stuck at P.
Remove the cover and insert a long screw driver as shown here.