That's literally always possible? The idea is to put up walls and fail-safes to minimize the chance.
You should always be able to either undo what you did or rebuild to identical infrastructure and nearly-identical data.
You should always be able to either undo what you did or rebuild to identical infrastructure and nearly-identical data.