Why do I use node and mongoose to develop my mongodb database? It is always automatically shut down after connection and localhost:3000 is not accessible

  node.js, question

Why do I use node and mongoose to develop my mongodb database? It is always automatically shut down after connection and localhost:3000 is not accessible

Can you ctrl c turn off mongodb?