Art Kavanagh

The battery in my MacBook Air is at 5%. It’s threatening to go to sleep unless I plug it in, but it’s nearly my bedtime so I try to shut it down instead, only Mail keeps cancelling the shutdown. What’s it playing at? Doesn’t it know who’s boss?