Yes закрой рот is a very rude words,
We say не говори just when a)we ask someone to stay silent b)when we ask someone to not open the secret within some other person and c)when the said thing is so...