"Barking up the wrong tree" <- What does "bark" refer to here? [closed]

I've always understood the meaning of bark to refer the noise produced by dogs. Etymonline appears to confirm this:

  • in reference to a dog sound, Old English beorcan "to bark," from Proto-Germanic *berkan (source also of Old Norse berkja "to bark"), of echoic origin. Related: Barked; barking. To bark up the wrong tree is U.S. colloquial, first attested 1832, from notion of hounds following the wrong scent.

The Phrase Finder appears to be on the same page:

The allusion is to hunting dogs barking at the bottom of trees where they mistakenly think their quarry is hiding.

The earliest known printed citation is in James Kirke Paulding's Westward Ho!, 1832:

  • "Here he made a note in his book, and I begun to smoke him for one of those fellows that drive a sort of a trade of making books about old Kentuck and the western country: so I thought I'd set him barking up the wrong tree a little, and I told him some stories that were enough to set the Mississippi a-fire; but he put them all down in his book."

The phrase must have caught on in the USA quickly after Hall's book. It appeared in several American newspapers throughout the 1830s; for example, this piece from the Gettysburg newspaper The Adams Sentinel, March 1834:

  • "Gineral you are barkin' up the wrong tree this time, for I jest see that rackoon jump to the next tree, and afore this he is a mile off in the woods.

According to WOOFipedia (www.woofipedia.com), the expression derives from the practice of hunting raccoons with trained hounds:

  • Settlers of the American wilderness depended on the raccoon as a steady source of meat, fur, and fat. Frontiersmen bred uniquely American hounds that specialized in tracking and treeing the nocturnal carnivore. Coonhounds pursue their quarry through woods and swamps until the raccoon scoots up a tree. They then bay and bawl loudly to indicate their location. Sometimes, though, the wily raccoon fools its pursuers and the hounds literally bark up the wrong tree.

Just a bit of year-end fun:

enter image description here (lowres.cartoonstock.com)