No, a chat does not end when its pin is removed. All your messages and media will remain intact. You’re merely changing the order of your chat list for better accessibility.