To take apart from; to take off.
to detach the tag from a newly purchased garment
To separate for a special object or use.
to detach a ship from a fleet, or a company from a regiment
To come off something.
Now that the zipper has detached, my winter coat won't keep me very warm.