I’d have left it on the beach. If you want you can put it in saltwater and see what happens, but it probably won’t make it very long outside of the ocean, especially if it already was out of water. It is likely dead at this point, in that case you can cut it open and see what is inside.