How to use "trailing" in a sentence

Sentences

The cold spell won't last." He squinted into the smaller room, where the boy lay motionless on a hospital bed, under a white sheet and yellow blanket, trailing monitor wires

Two slugs ricocheted off the body of the car, each trailing away with a brief, high-pitched whine.