It's dependent on whether or not the restrained condition is specific to your square/position or your character. If the former (you're tied down), then you are no longer restrained. If the latter (you're almost frozen solid), then you remain restrained. Prone is always specific to your character, so you remain prone.