I assume it does get stuck, and creatures go extinct as their environment changes around them and evolutionary mechanisms don't by chance produce a change that enables survival either quickly enough, or because the required changes are not possible from the current state of the organism.