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.
Portcullis
The creature does enter, so any other abilities that trigger on it entering trigger. This follows the normal rules for timing triggered abilities: first, the current player puts their abilities on the stack in any order, then each other player in turn order does the same. Portcullis' own ability is included in this, so it could result in the creature being exiled after some abilities have resolved, but before others.
If the creature that triggered Portcullis is no longer on the battlefield when the ability resolves, then it fails to do anything.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Kev Walker
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
