The warning to leave Russian territorial waters was initially ignored, and later the US submarine left them, the Defense Ministry said.