As the forces in the Sognefjord naval district started surrendering 1 May Troll was ordered to sail to the UK, but due to a lack of both crew and coal the ship was unable to do so. Hence, she struck her flag in Florø on 4 May 1940. The abandoned ship was seized in Florø by the Germans on 18 May.

After capture Troll, retaining its original name, was rebuilt by the Germans as a distillation vessel and steam supply ship, having her whole superstructure removed. She was used as such at the Laksevåg shipyard near Bergen from 1941 until she was returned to the Royal Norwegian Navy in 1945.[4]