Several incidents led to the decline of Malacca as a port city. The plague hit Malacca after the Dutch’s attack weakened it. Eventually, the Dutch occupied the port, followed by the British favoring other ports.