They are fine out of water to clean them. You can even gently use a toothbrush (not your own but one specifically for tank use - and don't use someone elses who you are PO'd at either - it's not good for the snail

). If you want you can put it in a small bowl or container of water to scrub. Don't do it in your tank or you will just help spread the algea.