What is the meaning of "put a knot in your tail" in the following sentence (Source: The great big elephant and the very small elephant),
He stopped short. The Very Small Elephant stopped too. There in the middle of the path stood Rinaldo. Rinaldo loved to fight.
"If you try to pass here," he shout, "you will be sorry!"
The Great Big Elephant was angry.
"Get out of my way or I will put a knot in your tail.!"
Does "I will put a knot in your tail" mean "I will bite your tail so that your tail will be hurt and you will have a lump(knot) in your tail" ?