def retry(self):
    """
    Retry a failed or aborted command.

    @return: A new ApiCommand object with the updated information.
    """
    path = self._path() + '/retry'
    resp = self._get_resource_root().post(path)
    return ApiCommand.from_json_dict(resp, self._get_resource_root())