Except what does one do in the midst of a pandemic when cruise lines are shut down?
Initially, you arrive at the host nation which allows you into the port. If this is not a U.S. territory and you desire to return to the U.S. asap, you would see whether any flights are available. If no other options, notify the U.S. Embassy stat.