You can leave a break barrel air gun cocked for an indefinite amount of time, but it's not recommended. Doing so can wear out the seal and damage the gun. As a general rule, it's best to cock the gun just before you're ready to use it.