Coast Guard orders unsafe ship to stay in Baltimore