If the restaurant is closed when you arrive, or if the restaurant staff confirm that the order has already been collected, you can unassign yourself from the order in the rider app.
Or if you’re near the restaurant, you can tap the ? in the upper right corner from the map screen and select Restaurant is closed.
You won’t need to contact Rider Support in order to unassign from these orders.