It is possible to defend your base by touching zombies ready to attack. As a result, it will remain safe.