Wrong, as you say the yacht was motoring it means they were both under power, so all they had to do is pass port to port at a safe distance.
If the yacht was also under power then they should be showing a cone which lets other vessels know that they are under power, in reality most yachts don't do this though.
Read the col regs.