Idiom
take care of yourselftake care (of yourself)
goodbye.“It was nice talking with you.” “It was nice talking to you, too.” “Okay, take care.”“Good-bye,” she said to him, “take care of yourself.”
Usage notes: usually said as part of ending a conversation
Etymology: based on the literal meaning of take care (= be careful)