The Remove all Guides command removes all guides from the image.
You can access this command from the image menubar through Image → Guides → Remove all guides.