apparently jamie had somehow retained sufficient presence of mind last night to write a brief note-though he did n't recall doing so-to la fayette , explaining what had happened and confiding care of his troops to the marquis .