You can always choose to share or not at the beginning of making the recipe, by "unclicking" the share button.
If you change your mind later about sharing (or making a recipe public if it's not shared), you can go into edit on that recipe, and then under "recipe tools" you can share or unshare, whichever you'd like.