Owing to my still continuing to assert that I had seen a vision persecution, still followed me, and my wife’s father’s family were very much opposed to our being married. I was therefore under the necessity of taking her elsewhere so we went and were married at the house of Squire Tarbill, in South Bainbridge Chenango county, New York. Immediately after my marriage I left Mr. Stoal’s and went to my father’s and farmed with him that season.
At length the time arrived for obtaining the plates, the Urim and Thummim, and the breastplate; on the twenty-second day of September, one thousand eight hundred and twenty-seven, having went as usual at the end of another year to the place where they were deposited, the same heavenly messenger delivered them up to me, with this charge that I should be responsible for them: that if I should let them go carelessly or through any neglect of mine I should be cut off; but that if I would use all my endeavors to preserve them, until he the messenger should call for them, they should be protected.
I soon found out the reason why I had received such strict charges to keep them safe, and why it was that the messenger had said that when I had done what was required at my hand, he would call for them; for no sooner was it known that I had them than the most strenuous exertions were used to get them from me; every stratagem that could be invented was resorted to for that purpose; the persecution became more bitter and severe than before, and multitudes were on the alert continually to get them from me if possible; but by the wisdom of God they remained safe in my hands until I had accomplished by them what was required at my hand, when according to arrangements the messenger called for them, I delivered them up to him and he has them in his charge until this day, being the second day of May, one thousand eight hundred and thirty-eight.
More detail is given by the mother of Joseph Smith – Lucy Mack Smith – https://bookofmormonheartland.com/joseph-smith-obtains-the-plates/