Prince William "stepped up to the mark" in the absence of King Charles