I think the apples don’t stop spawning, it just go to a part that we can’t see in the game (sides) :(
I will work more on the game in the future but since I am now going to middle school I have a bit less time to work on it