title: How pause/resume a mongodb cloud/atlas cluster from shell
body: <p>I'm trying to follow the example on this page: <a href="https://docs.mongodb.com/mongocli/master/reference/atlas/cluster-pause#example" rel="nofollow noreferrer">https://docs.mongodb.com/mongocli/master/reference/atlas/cluster-pause#example</a></p>
  <p>I start my shell first with the user password etc... and I've used it for other things, so I know that part is working.   Once I have the shell open, how do I pause/resume?</p>
  <p>Part 2 - if CPU is 100%, will pause/resume effectively do what I would call a &quot;restart&quot; with other database servers?</p>
  <p>I've tried the following:</p>
  <pre><code>MongoDB server version: 4.2.10
  WARNING: shell and server versions do not match
  MongoDB Enterprise atlas-10ydpn-shard-0:PRIMARY&gt; atlas cluster pause tdCluster0
  uncaught exception: SyntaxError: unexpected token: identifier :
  @(shell):1:6
  MongoDB Enterprise atlas-10ydpn-shard-0:PRIMARY&gt; cluster pause tdCluster0
  uncaught exception: SyntaxError: unexpected token: identifier :
  @(shell):1:8
  MongoDB Enterprise atlas-10ydpn-shard-0:PRIMARY&gt;
  </code></pre>