text: The “when Portcullis leaves the battlefield” ability is set up as part of the ability that exiles the creature. It will trigger when Portcullis leaves the battlefield even if Portcullis has somehow lost its abilities at that time.