The lineout pass is the legal way to restart the game if the ball has gone out of play from either of the sidelines.