I believe that to operate in clamshell mode, the laptop must be plugged in. I think it may say so in the support section of Apple's website.
Yeah but he said "But what if I have it running in clamshell mode then unplug the MagSafe?" So like I said, I thought (and I am right) that it is the other way around.