The Bavli, Shabas 50 amud 2 says (according to Rashi's understanding) that one can stick a knife between tightly foliated leaves on a branch on Shabas. Rashi explains:
ואין חוששין שמא יגרור הקליפה וחייב משום מוחק / and we're not worried that he may scrape the peel and be liable for erasure.
What does erasure have to do with anything? How/why would scraping the surface of a leaf be considered erasure?