Multiple unattended prints using extruder to sweep build plate?
You could cool down the heated bed (with e.g. [M109][1] R28) and cool down the hotend (with e.g. [M190][1] R40). This will usually release the print from the plate, perform the actions to move the head (e.g. go to the largest X, Y position G1 X{max} Y{max}, move down G1 Z10 to then move to minimum X, Y G1 X0 Y0 position such that it sweeps the print to the origin) that it knocks it into the basket and start printing again by copy pasting the whole G-code beforehand a couple of times. Note that this all depends on the product you are printing. You should at least use the end code scripts for the specific tasks to cool down, and start scripts to heat up again.

You can write a Cura plugin to implement a new GUI item to copy the G-code multiple times or create a post processing plugin.