Is this a shag or a cormorant?

It's not something I've seen before.... It was behaving like a heron, just staring into space in the middle of a pond in a city park. It's short legged though...