I can't make my animation go beyond 250 frames

There is a faded yellow line, that stop in 250 frames, and i can’t extend it, i tried to delete key frames from those objectes, but is not that, so, what can i make to extend that yellow thing or make the animation goes to 400 or more frames.

The yellow lines are cached key-frames. What you aren’t saying is that you’re doing some kind of simulation. Each physics sim system has its own caching setting, so you’ll need to look around, or tell us which simulation you’re using.

Im using rigid body physics for the chain, just to get it in a more natural position, so how can i delete this cache to start again?

Properties > Scene > Rigid Body Cache