Terminal command to reboot/reset?

Not sure if this is the correct category for this question – apologies if I’ve put it in the wrong place

Is there a way to reset/reboot my daisy patch from the command line? I like to test frequently and it would save a ton of time if I could make and push my test without needing to manually reboot/reset every time.

And just ‘for the record’ here’s an answer to @sroons original post, years later: