You could have it up to the player. The player hits a button that they wish to retire/submit/end the game, and are then given some sort of score.
Fiction wise, it depends a bit on your setting, are you on some sort of wildlife preserve, a ranger or something? In which case the button might act as summoning some sort of wildlife organization to come in and do an evaluation of the species survivability. If it's humans in a plague ridden quarantine area, it could be contacting a WHO or government agency to convince them that what you have setup is sustainable.