If they don’t get hints, just say you have to kick them out because you need to get ready for an appointment (could be a zoom with your family if they have the chutzpah to ask you what the appointment is). Or, if it’s late, just say it’s past your bedtime and you need to get up in the morning, or simply that you are getting tired.
You tell them flat out. “You gotta go now”. We very rarely have guests we want to get rid of. Such folks usually don’t get in to begin with. And once you’re in, we don’t usually care if you stay. Whoever falls asleep first gets a blanket tossed over them. The wife always turns in early, but is prone to pass out in her big recliner after particularly busy days. Our guests and relatives know the drill.