As far as I know the answer is no. If you want to go back to your desktop to do something, pause SH5.
Actually you don't want to have the sim keep on running while you go back to your desktop to do something esle. You could end up attacked and sunk without even knowing it, until you pop the sim back up and see yer dead. BDU would not appreciate it one bit.