Although VM gets deleted you can see the wordpress deployment properties in the deployment manager. Delete the wordpress properties in the deployment manager and redeploy it.
If your Compute Engine Instance was deleted, it is not possible to restore it. During the creation of the Instance you could configure deletion rules to keep the boot disk when the instance is deleted. This can be configured in the submenu “Management, security, disks, networking, sole tenancy” in the Disks section.
However, if you have a snapshot of the disk, you can create a new instance from that snapshot, or, if the disk from the original instance was not deleted (as I explained above), you can create a new instance from that disk.
As a note, there are settings for preventing accidental deletion of instances which may also be useful.
Also, if you have a machine image, you can recreate an identical instance from it. A machine image stores all the configuration, metadata, permissions, and data from one or more disks required to recreate an identical virtual machine instance.