How to leave a party
"Near the close of a party, the host and hostess usually are to be found near the door of the parlour, and guests take leave of them with a bow and compliment for a pleasant evening, then pass to the dressing rooms after wraps and vanish without further ceremony. In small circles a bow should be given to each person about one, and leave taken of any special friend whose conversation has been particularly pleasant."
In short, say goodbye to the people around you, to your host, and to the hottie you spent half an hour chatting up, then slip away without further adieu.
~ 'The Home Cook Book', 1877 (Hunter, Rose and Co, Toronto.)