# Rollback - " Deleting Emil" Cypher Query after DETACH DELETE

**URL:** <https://community.neo4j.com/t/rollback-deleting-emil-cypher-query-after-detach-delete/56049>\
**Category:** Graph Academy\
**Tags:** cypher\
**Created:** [May 9, 2022, 2:03pm UTC](https://community.neo4j.com/t/rollback-deleting-emil-cypher-query-after-detach-delete/56049 "2022-05-09T14:03:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kthanptel](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kthanptel/32/20988_2.png) [@kthanptel](https://community.neo4j.com/u/kthanptel)\
**Post date:** [May 9, 2022, 2:03pm UTC](https://community.neo4j.com/t/rollback-deleting-emil-cypher-query-after-detach-delete/56049/1 "2022-05-09T14:03:32Z")

</div>

Hi, I am a beginner and going thru the lessons in Graph Academy.

My Problem: Hit Enter/Confirm button before including the WHERE clause to my query : " MATCH (p:Person) DETACH DELETE ". This resulted in about 154 Nodes deleted.

How do I rollback ? Suggestions required so that I can proceed with my lessons

---

<div class="post-metadata">

**Author:** ![elaine\_rosenber](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/elaine_rosenber/32/27409_2.png) [@elaine\_rosenber](https://community.neo4j.com/u/elaine_rosenber)\
**Post date:** [May 9, 2022, 3:49pm UTC](https://community.neo4j.com/t/rollback-deleting-emil-cypher-query-after-detach-delete/56049/2 "2022-05-09T15:49:23Z")

</div>

Hello @kthanptel and welcome to the Community!

Since you deleted everything in the graph, I suggest you do the following:

1. Go to the [sandbox.neo4j.com](http://sandbox.neo4j.com) site and terminate the movies sandbox.
2. Refresh the page for the Challenge. It will take a minute or so to recreate the sandbox and prepare it for the challenge.

Elaine

---

<div class="post-metadata">

**Author:** ![kthanptel](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kthanptel/32/20988_2.png) [@kthanptel](https://community.neo4j.com/u/kthanptel)\
**Post date:** [May 10, 2022, 10:42pm UTC](https://community.neo4j.com/t/rollback-deleting-emil-cypher-query-after-detach-delete/56049/3 "2022-05-10T22:42:18Z")

</div>

Hi Elaine  
Many thanks for your prompt support. I haven't yet started on the sandbox afresh as I am going thru the "self paced" course from "[graphacademy.neo4j.com](http://graphacademy.neo4j.com)

However, I am good for now as I have progressed to the GraphModeling chapters.  
Thanks  
Krishnan
