You can withdraw your funds anytime but if it is before your maturity date it will affect your yield and you will only get back the initial sum you deposited.