You can end your Polydata session by using the Save and exit menu option in the main Polydata menu, or by using the Exit option under Polydata’s File menu.
File → Exit
You can end your Workbench session by using the Exit option under Workbench’s File menu.
File → Exit
Note that your attempt to exit Workbench will be refused if Polydata or Polyflow is running.