Usually, that is discouraged in such situations. Closing a breaker into what might be a fault could result in even more serious damage. Cycling a circuit breaker can be OK to 'shake loose' a brain-dead processor. In that case, if you opened the breaker, you can close it (deferring to the published operating procedures, of course). But if it tripped on its own, I'd be hesitant to re-kindle a fire someplace.