The question may seem stupid, but can I just shut down my Pc running Ubuntu with a Tor relay or is there as set procedure?

Thank you