(AMZN -0.29%) will halt its third-party delivery business, dubbed Amazon Shipping, in the coming months. The business, which was being tested in select U.S. markets, was dedicated to moving packages not associated with Amazon's e-commerce operations, but picking up parcels from other companies and delivering them to consumers.

This put the company in direct competition with rival shipping giants FedEx (FDX -0.17%) and United Parcel Service (UPS 2.97%), whose stocks jumped on the news, up 7% and 4% respectively (as of this writing).

A woman speaking to a delivery driver in an van adorned with the Amazon Prime logo.

Image source: Amazon.

In a notification to those companies affected by the decision, Amazon wrote, "We understand this is a change to your business, and we did not take this decision lightly. We will work with you over the next several weeks so there is as little disruption to your business as possible." 

The move into shipping seemed a natural extension of Amazon's existing business, having developed a world-class logistics and delivery operation for its own packages. The company plans to pause the service in June and from there decide what its next move should be.

Amazon made the decision after the surge in business resulting from recent stay-at-home orders designed to slow the spread of the COVID-19 novel coronavirus. The company recently announced that it planned to hire as many as 100,000 warehouse workers and delivery staff to deal with the unprecedented demand.

The tech giant became its own biggest shipper in mid-2019, after a much publicized breakup with FedEx, as the company increasingly viewed Amazon as a threat to its business.