The former Yugoslav Republic of Macedonia
GENERAL PART
2. A CRIME AND CRIMINAL RESPONSIBILITY
2.2. Preparation and attempt of a crime
Voluntary calling off
Article 21
(1) An offender who was preparing or who attempted to commit a crime, but who voluntarily called off its perpetration may be acquitted from punishment.
(2) The perpetrator has given up the preparation of the activity when he\she has ceased any further preparations or has stopped or seriously tried to stop the commencement of the performance of the criminal activity.
(3) In case of voluntary calling off, the offender shall be punished for those activities that represent some other independent crime.
Individual criminal responsibility
Voluntary withdrawal
EDIT.