Where is the end of the rainbow?
The rainbow has no end in the sense that it would be localized. The rainbow will move with you, and hence is never connected to the landscape. The landscape has nothing to do with the position of the bow. Moreover, the bow is three-dimensional. If rain was falling everywhere, the rainbow would start in the drops right in front of your face and extend to infinite distance, as a cone with its apex at your eye. In other words, the intersection of one of the bases of the rainbow with the ground (where the gold box would be) is not a point but a line, which can stretch for miles (as far as the rain is being illuminated by the sunlight).