A shelter in downtown Portland that opened during the pandemic is closing its doors after almost five years of operation.