Police Scotland was called to the Findhorn Court area of Elgin around 6.30pm on Wednesday, 22 April following a report of a disturbance within a property.
A 27-year-old man was subsequently arrested and charged. He is expected to appear at Inverness Sheriff Court on Friday, 24 April.
Inspector Andrew Wilson of Elgin Police Station said: "This incident was contained to the single property and nobody was injured.
"The local community are thanked for their understanding while officers worked to bring this to a safe conclusion."
Call 101 for non-emergencies and general policing matters, in an emergency call 999. If you have information about a crime you can also contact Crimestoppers anonymously on 0800 555 111.
If your email enquiry is relating to the UK or Scottish Governments coronavirus guidance please refer to gov.scot/coronavirus. If it is a medical enquiry regarding coronavirus please refer to nhsinform.scot/coronavirus.