I don't really know how. The only way for it to go out so fast is by using all your mana. But as you said, no one attacked you so no way. And i played pvp before and I can use mana shield tons of times. It should not be intented because you can use all your spells on pvp.

BOTTOMLINE : It is just a bug. It may have been fixed because it did not happen recently to you.