Leave the desk. Keep the workspace.
With a linked server, eligible work can continue away from your Mac. Keep the conversation and saved results available when you return.

Keep the project’s context together. Example data · actual dzimplei interface

See what remains to be done. Example data · actual dzimplei interface

Return to the files, not a lost terminal session. Example data · actual dzimplei interface
A few useful details.
Does closing the lid move every running task?
No. Handover depends on a linked setup and saved state. A turn in flight can still be interrupted.
Can the server use a Mac app while the Mac is off?
No. Work that requires a local app needs that computer available.