The Danish combat ship Absalon came to the scene and fired a flare at the pirates ' boat , which caught fire and began to sink .