"pulled away his hair, taking with it the pin of the loom and the fabric in the loom"
This is the wooden nail or peg used to fasten the fabric to the loom.