If the referee stops the game, yes it is an indirect free kick...if the team plays it out of bounds, it is a throw in.....