The /close command is only used for closing windows that are associated with a nick (DCC windows, queries, ...) and customs windows, not channels.

The /window command is only used to manipulate custom windows.

Note that these command did not work for channels in earlier versions of mIRC either.

What you should use it the /part command.