General Part
Chapter II
Criminal Offences
Section 16. Voluntary Withdrawal
(1) Voluntary withdrawal from the commission of a criminal offence means the complete discontinuance by a person, pursuant to his or her will, of a criminal offence commenced by such person while knowing that the possibility exists to complete the commission of the criminal offence.
(2) A person who has voluntarily withdrawn from the commission of a criminal offence shall not be held criminally liable. Such person shall be liable only in the case where the constituent elements of another criminal offence are present in his or her actually committed offence.
EDIT.