I did one file where I gave it up and one file where I kept it, and I was able to summon the whale in both as soon as I got to the mountain and made it calm. It's probably set to disappear after getting to a certain point, maybe after the barricade scene.