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.
Understood.
(Kinda weird then that you can use /window command for other stuff like -a and -x on chan windows though.)
However in 7.1 the part command doesn't work when the channel status is "joining".
For example you've been banned and you're trying to join the channel, the status will be set to "joining".