We investigate the interaction of a protostellar magnetosphere with a large-scale magnetic field threading the surrounding accretion disc. It is assumed that a stellar dynamo generates a dipolar-type field with its magnetic moment aligned with the disc magnetic field. This leads to a magnetic neutral line at the disc mid-plane and gives rise to magnetic reconnection, converting closed protostellar magnetic flux into open field lines. These are simultaneously loaded with disc material, which is then ejected in a powerful wind. This process efficiently brakes down the protostar to 10-20per cent of the break-up velocity during the embedded phase.