Having issue with serial COM port Arduino Uno

Typically that error means some other program or process has the COM port open. In some cases that could even include Serial Monitor. Make sure to close any programs that might have COM5 open.