How to exclude pages from sitemap and menus

I have created a custom 404 page for my site. It is named page-not-found.html. I do not want this page showing up in the menus and sitemap.

how can i exclude this one page from showing up?

Here is the sitemap page:


Thanks so much!


Never mind. I figured out. just change the status to hidden.