Returning the database after patching