as coach a do have the right to ask for stop the game if there is no safe environment for my team?

which specific circumstances are allow to ask for stop game and is this subject to sanction or disciplinary action?

if there is racial treatment on field coach can ask referees to stop game?

USSF answer (October 25, 2010):
Concern 1: Possible unsafe environment and the referee is not aware or appears not to do anything about it. Note that there are no specific circumstances that dictate a “safe environment.” You will have to define your own safe environment. Different levels of skill and player ages mean different things to everyone. We are assuming this is a youth game, because the normal reaction of a youth coach is to protect his/her players. In an adult game, the players themselves would likely find a way to sort this out. (And possibly not in a pleasant way.)

Our response: We tell our referees to talk to the coach when there is a problem in a youth game. There must be communication between the coach and the referee in youth level games. This is particularly important if the referee is an adult, because a young player will hesitate to bring the problem as it is to the referee.

Concern 2: Players of the other team are making remarks that are racially offensive and the referee has not responded.

Our response: It seems clear that this particular referee had no clue what was going on in this game. Our suggestion is that the coach politely approach the referee at a stoppage — most likely halftime or if the referee gives the coach some other opportunity to speak — and point out the racial remarks. If the remarks continue and are clearly heard by the referee and are not being dealt with, the coach needs to evaluate whether the “atmosphere” of the game is not appropriate and no longer playing is the only option. We would hope that the referee will listen to the polite remarks from the coach, evaluate the situation and his/her previous approach to the game, and act to resolve the situation, thus reinforcing the mutual respect that should exist between the referee, the coaches, and the captains of the teams. The game is for all participants to enjoy and unfair play should not be permitted.

Concern 3. Concern about possible sanctions if coach pulls players off the field:

Our Response: We are not aware of any sanctions or disciplinary action associated with telling the referee that your team will be leaving the field There is certainly nothing about this in the Laws of the Game. You will have to check with the competition authority, that is, the people who run the league, to see what their rules on this are.

When the game is not going well, many communities will react and pull the team from the field. This is considered the most serious demonstration of dissent with the referee and everyone looks at the referee as the guilty party. No referee wants this to happen in his or her game, as it is extremely embarrassing. Approach the referee and make your point politely and firmly. That is the best we can suggest. However, we are aware that some referees do not always seem to know what is best for the game.

Please remember that If the referee is unaware of the issues that the coach sees, then this referee is likely not to be approachable by the coach and any dialogue is going to be difficult.  The key point is that the coach should consider making a polite attempt to contact the referee, either through a team captain, an assistant referee or fourth official (if there is one), or directly (when opportunity arises, such as a stoppage nearby, at halftime, etc).  If all efforts fail, the coach does have an obligation to his players and may take the drastic action of removing his team from the field.  If he does take that action he needs to be prepared to face the consequences as the referee is required to file a game report, and, given the incident, will most likely be asked what happened and will present his own side of the story to the league authorities.