As ApathyMonger said, Vertigo was a creator-owned imprint of DC. Meaning BKV owns the full rights to the Y: The Last Man. It’s why Neil Gaiman is so heavily involved with Sandman and why DC can’t really use the Endless without his permission since he created them.