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.