You are not obligated to participate in the matching process or any other training activity whilst on maternity leave.  Your CT2 post will be allocated based on available posts and in discussion with you a few months prior to your return date.  However, you are entitled to participate in matching whilst on maternity leave if you so wish.