Parental Leave and Employment Protection Act 1987, s 45
You can go back to work earlier than the date you agreed on with your employer for the following reasons:
you are no longer the primary carer for the child,
the pregnancy does not happen (for example if you have a miscarriage), or
your employer agrees to you returning earlier.