Newton's First Law and Perpetual Motion

You asking whether something is in a box as soon as it is in the box.

The answer is clearly yes, as a simple matter of logic.