The Spin Box bonus game will end when you find the Free Spins Box. The mini-game feature will end when you uncover a gun turret tile instead of a ship.