To slither is to move forward by using a twisting motion. I can see the correlation with "not giving up" because snakes essentially go forward by moving back and forth. But it's a very roundabout metaphorical association, and certainly not a meaning or definition.