To close a window (typically by clicking a button marked with an X symbol).
To cross out with a series of the letter X, or with scribbles or lines.
To cut off as the top or extreme part of anything, especially to prune a small limb off a shrub or tree, or sometimes to behead someone.